add quickstart vm notes to driveripper
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
- [Important Locations](#important-locations)
|
- [Important Locations](#important-locations)
|
||||||
- [Monitoring Scripts](#monitoring-scripts)
|
- [Monitoring Scripts](#monitoring-scripts)
|
||||||
- [Quick Ansible Commands](#quick-ansible-commands)
|
- [Quick Ansible Commands](#quick-ansible-commands)
|
||||||
|
- [Quickstart VM](#quickstart-vm)
|
||||||
- [Disk Mounts](#disk-mounts)
|
- [Disk Mounts](#disk-mounts)
|
||||||
- [Disk Performance Testing](#disk-performance-testing)
|
- [Disk Performance Testing](#disk-performance-testing)
|
||||||
- [General VM Notes](#general-vm-notes)
|
- [General VM Notes](#general-vm-notes)
|
||||||
@@ -45,6 +46,35 @@ ansible-playbook -i ansible/inventory.yaml -l proxy active/container_caddy/insta
|
|||||||
ansible-playbook -i ansible/inventory.yaml -l proxy active/container_ddns/install_ddns.yaml
|
ansible-playbook -i ansible/inventory.yaml -l proxy active/container_ddns/install_ddns.yaml
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Quickstart VM
|
||||||
|
|
||||||
|
Default user: `ducoterra`
|
||||||
|
Default password: `osbuild`
|
||||||
|
|
||||||
|
- [ ] `passwd ducoterra`
|
||||||
|
- [ ] `hostnamectl hostname <hostname>`
|
||||||
|
- [ ] Updates
|
||||||
|
- [ ] Static IP and DNS address
|
||||||
|
|
||||||
|
```bash
|
||||||
|
# Convert the build to raw
|
||||||
|
qemu-img convert -f qcow2 -O raw \
|
||||||
|
/srv/smb/pool0/ducoterra/images/builds/fedora-43-base.qcow2 \
|
||||||
|
/srv/vm/pool1/fedora-boot.raw
|
||||||
|
|
||||||
|
# Install (Change password for default user ducoterra!)
|
||||||
|
virt-install \
|
||||||
|
--boot uefi,firmware.feature0.name=secure-boot,firmware.feature0.enabled=no \
|
||||||
|
--cpu host-passthrough --vcpus sockets=1,cores=8,threads=2 \
|
||||||
|
--ram=8192 \
|
||||||
|
--os-variant=fedora41 \
|
||||||
|
--network bridge:bridge0 \
|
||||||
|
--graphics none \
|
||||||
|
--console pty,target.type=virtio \
|
||||||
|
--name "fedora" \
|
||||||
|
--import --disk "path=/srv/vm/pool1/fedora-boot.raw,bus=virtio"
|
||||||
|
```
|
||||||
|
|
||||||
## Disk Mounts
|
## Disk Mounts
|
||||||
|
|
||||||
1. All btrfs `subvolid=5` volumes should be mounted under `/btrfs`
|
1. All btrfs `subvolid=5` volumes should be mounted under `/btrfs`
|
||||||
@@ -110,7 +140,7 @@ virt-install \
|
|||||||
--graphics none \
|
--graphics none \
|
||||||
--console pty,target.type=virtio \
|
--console pty,target.type=virtio \
|
||||||
--name "fedora" \
|
--name "fedora" \
|
||||||
--import --disk "path=/srv/vm/pool1/fedora-boot.raw,bus=virtio" \
|
--import --disk "path=/srv/vm/pool1/fedora-boot.raw,bus=virtio"
|
||||||
|
|
||||||
# If you need to pass through a PCIe card
|
# If you need to pass through a PCIe card
|
||||||
--hostdev pci_0000_4e_00_0 \
|
--hostdev pci_0000_4e_00_0 \
|
||||||
|
|||||||
Reference in New Issue
Block a user