Skip to content

Commit

Permalink
Update LIBVIRT_CLOUD_IMAGES.md
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorific committed May 27, 2024
1 parent 8afea82 commit 1e27586
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/LIBVIRT_CLOUD_IMAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,20 @@ $ virsh domblklist ubuntu-server-2204
$ virsh change-media ubuntu-server-2204 sda --eject
Successfully ejected media.
$ sudo rm /var/lib/libvirt/images/ubuntu-server-2204/seed.img
$ sudo virsh edit sudo virsh edit $VM_NAME
# remove entry for the seed.iso
<disk type='file' device='cdrom'>
<driver name='qemu' type='raw'/>
<source file='/var/lib/libvirt/images/ubuntu-server-2204/seed.iso'/>
<target dev='sda' bus='sata'/>
<readonly/>
<address type='drive' controller='0' bus='0' target='0' unit='0'/>
</disk>
# disable cloud-init
sudo touch /etc/cloud/cloud-init.disabled
```

```
Expand Down

0 comments on commit 1e27586

Please sign in to comment.