Skip to content

Commit

Permalink
Update MANUAL_INSTALL_ISO.md
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorific committed May 18, 2024
1 parent 4fd3cb1 commit dc44f97
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions docs/MANUAL_INSTALL_ISO.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,8 +202,8 @@ virsh snapshot-revert ubuntu-server-2404 <name>
virsh snapshot-delete ubuntu-server-2404 <name>
virsh destroy ubuntu-server
virsh undefine ubuntu-server --nvram --remove-all-storage
virsh destroy ubuntu-server-2404
virsh undefine ubuntu-server-2404 --nvram --remove-all-storage
```

### Installing Ubuntu 24.04 Desktop on a headless Ubuntu Server using VNC
Expand Down Expand Up @@ -237,6 +237,15 @@ ip addr show | grep -oP '(?<=inet\s)\d+(\.\d+){3}' | grep -v 127.0.0.1
# Use a vnc client to connect to `vnc://<host_ip>:5900`
# When the install is complete the VM will be shut down
$ virsh domblklist ubuntu-desktop-2404
Target Source
---------------------------------------------------------------
vda /var/lib/libvirt/images/ubuntu-desktop-2404.qcow2
sda /var/lib/libvirt/iso/ubuntu-24.04-desktop-amd64.iso
$ virsh change-media ubuntu-desktop-2404 sda --eject
Successfully ejected media.
# Reconfigure VNC
virsh edit ubuntu-desktop-2404
<graphics type='vnc' port='-1' autoport='yes' listen='127.0.0.1' passwd='foobar'/>
Expand All @@ -248,6 +257,11 @@ virsh restart ubuntu-desktop-2404
# enable serial service in VM
sudo systemctl enable --now [email protected]
# Install acpi or qemu-guest-agent in the vm so that
# 'virsh shutdown <image>' works
$ sudo apt-get update
$ sudo apt-get install qemu-guest-agent
# Optional - user setup
# Add User
# Settings > Power > Blank Screen: None
Expand Down

0 comments on commit dc44f97

Please sign in to comment.