diff options
author | Julien Dessaux | 2021-03-11 18:53:14 +0100 |
---|---|---|
committer | Julien Dessaux | 2021-03-11 18:53:14 +0100 |
commit | 60d3abc6ecdc21b4ab921d34a55b4af48690f55a (patch) | |
tree | 1ee530dd7367d743fb619f341100e41df22e1985 /content/en/blog/commands/qemu.md | |
parent | Updated docsy theme (diff) | |
download | www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.tar.gz www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.tar.bz2 www-60d3abc6ecdc21b4ab921d34a55b4af48690f55a.zip |
Rewrote the whole website to get rid on a heavy theme
Diffstat (limited to 'content/en/blog/commands/qemu.md')
-rw-r--r-- | content/en/blog/commands/qemu.md | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/content/en/blog/commands/qemu.md b/content/en/blog/commands/qemu.md deleted file mode 100644 index b3beb2c..0000000 --- a/content/en/blog/commands/qemu.md +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: "Qemu" -linkTitle: "Qemu" -date: 2019-06-10 -description: > - Qemu ---- - -## Quickly launch a qemu vm with local qcow as hard drive - -In this example I am using the docker0 bridge because I do not want to have to modify my shorewall config, but any proper bridge would do : -{{< highlight sh >}} -ip tuntap add tap0 mode tap -brctl addif docker0 tap0 -qemu-img create -f qcow2 obsd.qcow2 10G -qemu-system-x86_64 -curses -drive file=install65.fs,format=raw -drive file=obsd.qcow2 -net nic,model=virtio,macaddr=00:00:00:00:00:01 -net tap,ifname=tap0 -qemu-system-x86_64 -curses -drive file=obsd.qcow2 -net nic,model=virtio,macaddr=00:00:00:00:00:01 -net tap,ifname=tap0 -{{< /highlight >}} - -The first qemu command runs the installer, the second one just runs the vm. - -## Launch a qemu vm with your local hard drive - -My use case for this is to install openbsd on a server from a hosting provider that doesn't provide an openbsd installer : -{{< highlight sh >}} -qemu-system-x86_64 -curses -drive file=miniroot65.fs -drive file=/dev/sda -net nic -net user -{{< /highlight >}} - -## Ressources - -- https://github.com/dodoritfort/OpenBSD/wiki/Installer-OpenBSD-sur-votre-serveur-Kimsufi |