diff --git a/README.md b/README.md index 2f24d37..b2b1a8f 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,8 @@ ``` ssh -v -p 2222 root@localhost -i ./sandbox -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no ``` + +### Exit QEMU + +To exit a qemu-system-x86_64, VM in nographics mode, `Ctrl+a` then `X` + diff --git a/cloud-init_method/README.md b/cloud-init_method/README.md index ca57e53..0a8745d 100644 --- a/cloud-init_method/README.md +++ b/cloud-init_method/README.md @@ -1,7 +1,5 @@ # Auto setup of debian vm with cloud image + cloudinit method -First download cloud generic image +First download cloud generic image with `init.sh` - wget https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2 - -To run the VM +Then `run.sh` diff --git a/preseed_method/README.md b/preseed_method/README.md index 4d405d8..60095d3 100644 --- a/preseed_method/README.md +++ b/preseed_method/README.md @@ -1,8 +1,8 @@ -# Debian vm auto setup +# Debian vm auto setup with preseed -Install a debian headless virtual-machine from scratch with netboot in a QEMU environment +Install a debian headless virtual-machine from scratch with netboot in a QEMU environment. -## requirements +## Requirements - QEMU + KVM - tmux @@ -23,14 +23,6 @@ then on a client, connect to ssh via the port forwarding (in user mode network) ssh -o StrictHostKeyChecking=no -p 42022 root@localhost ``` -## troubleshooting - -kill qemu: pkill -f qemu-system-x86_64 - -## TODO - -- find a better way to kill qemu - ## preseed file Change this line to add initial packages.