Skip to content

Commit e66d91b

Browse files
authored
sudo to attach-disk command
1 parent 2dd0a04 commit e66d91b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/staff-docs/procedures/staff-vms.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Destroy:
6464
When trying to provision a NixOS VM through ISO (after step 3.), we ran into an issue where no bootable option or device was found.
6565
The way to solve this was to attach the ISO first:
6666

67-
`virsh attach-disk [domain name] /var/lib/libvirt/images/latest-nixos-minimal-x86_64-linux.iso sda --driver qemu --type cdrom`
67+
`sudo virsh attach-disk [domain name] /var/lib/libvirt/images/latest-nixos-minimal-x86_64-linux.iso sda --driver qemu --type cdrom`
6868

6969
Then disable secure boot in BIOs and add "console=ttys0" to the bootloader screen by pressing "e" and appending the parameter.
7070

0 commit comments

Comments
 (0)