docs: fix tips

This commit is contained in:
Matthieu Bessat 2024-06-21 11:54:37 +02:00
parent abdac550e6
commit 27d94f4313
3 changed files with 10 additions and 15 deletions

View file

@ -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`

View file

@ -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`

View file

@ -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.