Skip to content

Commit 89961be

Browse files
authored
Update harden-a-linux-image-to-remove-azure-guest-agent.md
sudo chroot /mnt/dev/$imagedevice/ rm -rf /var/lib/waagent sudo chroot /mnt/dev/$imagedevice/ rm -rf /etc/waagent.conf sudo chroot /mnt/dev/$imagedevice/ rm -rf /var/log/waagent.log
1 parent 2f23e36 commit 89961be

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/confidential-computing/harden-a-linux-image-to-remove-azure-guest-agent.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ Steps to create an image that removes the Azure Linux Agent are as follows:
5656
5757
For Ubuntu 18.04+
5858
```
59-
sudo chroot /mnt/dev/$imagedevice/ rm -rf /var/lib/walinuxagent
60-
sudo chroot /mnt/dev/$imagedevice/ rm -rf /etc/walinuxagent.conf
61-
sudo chroot /mnt/dev/$imagedevice/ rm -rf /var/log/walinuxagent.log
59+
sudo chroot /mnt/dev/$imagedevice/ rm -rf /var/lib/waagent
60+
sudo chroot /mnt/dev/$imagedevice/ rm -rf /etc/waagent.conf
61+
sudo chroot /mnt/dev/$imagedevice/ rm -rf /var/log/waagent.log
6262
```
6363
6464
5. Create a systemd service to provision the VM.

0 commit comments

Comments
 (0)