Skip to content

Commit 2d897b6

Browse files
authored
Merge pull request #127111 from shawntr/patch-1
Update harden-a-linux-image-to-remove-azure-guest-agent.md
2 parents 68eb589 + 8d0c429 commit 2d897b6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

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

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

0 commit comments

Comments
 (0)