30 lines
728 B
Markdown
30 lines
728 B
Markdown
|
|
# 9p Ubuntu Server VM
|
||
|
|
There are still some rough edges here, but this is a GNU makefile that allows
|
||
|
|
you to run a headless Ubuntu VM on a 9p filesystem.
|
||
|
|
|
||
|
|
When I get my website back up, I'll link the blog post this inspired that
|
||
|
|
explains what and why this is.
|
||
|
|
|
||
|
|
## Requirements
|
||
|
|
- A QEMU build with the 9p stuff (many distros include the stuff in their QEMU
|
||
|
|
packages)
|
||
|
|
- GNU Make
|
||
|
|
- OVMF EFI firmware (this requirement may go away later on)
|
||
|
|
|
||
|
|
## Using
|
||
|
|
Run the installer:
|
||
|
|
```
|
||
|
|
SSH_PORT=2221 UBUNTU_ISO=path/to/ubuntu_whatever.iso make run1-installer
|
||
|
|
```
|
||
|
|
|
||
|
|
More info on the installer coming soon...
|
||
|
|
|
||
|
|
Enjoy your VM:
|
||
|
|
```
|
||
|
|
make run1
|
||
|
|
```
|
||
|
|
|
||
|
|
## TODO
|
||
|
|
- pull down the Ubuntu ISO automagically so somewhere pointed to
|
||
|
|
by `UBUNTU_ISO` automagically
|