CopyPastor

Detecting plagiarism made easy.

Score: 1; Reported for: Exact paragraph match Open both answers

Possible Plagiarism

Plagiarized on 2019-08-10
by sofs1

Original Post

Original - Posted on 2018-06-26
by Ruinze Antipuesto Malinao



            
Present in both answers; Present only in the new answer; Present only in the old answer;

I first stopped my instance
Then I added this in User Data
#cloud-config bootcmd: - cloud-init-per always fix_broken_ufw_1 sh -xc "/usr/sbin/service ufw stop >> /var/tmp/svc_$INSTANCE_ID 2>&1 || true" - cloud-init-per always fix_broken_ufw_2 sh -xc "/usr/sbin/ufw disable>> /var/tmp/ufw_$INSTANCE_ID 2>&1 || true"
#Note: My instance is Ubuntu
Only this worked.
I know this is an old question but I fixed mine by adding a command in View/Change User Data using `bootcmd`
I first stopped my instance
Then I added this in User Data
#cloud-config bootcmd: - cloud-init-per always fix_broken_ufw_1 sh -xc "/usr/sbin/service ufw stop >> /var/tmp/svc_$INSTANCE_ID 2>&1 || true" - cloud-init-per always fix_broken_ufw_2 sh -xc "/usr/sbin/ufw disable>> /var/tmp/ufw_$INSTANCE_ID 2>&1 || true"
**#Note: My instance is Ubuntu**

        
Present in both answers; Present only in the new answer; Present only in the old answer;