29 lines
976 B
Markdown
29 lines
976 B
Markdown
# Disk image from base image
|
|
```bash
|
|
qemu-img create -f qcow2 -b ../images/centos-native/x86_64/CentOS-Stream-GenericCloud-9-20220330.1.x86_64.qcow2 -F qcow2 .vmm/disks/fs.qcow2 40G
|
|
```
|
|
`-b` is relative to the created image
|
|
|
|
# Networking
|
|
I think `vde` should be easy enough to implement for vm to vm communication.
|
|
|
|
`user` networking can be used for host and internet access.
|
|
It also has options for host_fwd and smb
|
|
|
|
# File Sharing
|
|
`user` networking has smb support. It uses samba.
|
|
|
|
There is also virtio-fs, which uses a daemon on the host and some special devices.
|
|
It has been tested on a Linux host, but not on other platforms.
|
|
|
|
# yaml ideas
|
|
drives(or disks) could be moved to the root.
|
|
They aren't really properties of the vm, but are attached to a vm.
|
|
|
|
maybe a gui option?
|
|
maybe more machine options?
|
|
Maybe a provider option?
|
|
|
|
cloud init's meta-data and user-data can just be a dict under the disk spec.
|
|
The yaml file can be created ad hoc and be written to an ISO file.
|