# Reese's Workstation - [Reese's Workstation](#reeses-workstation) - [Virtual Machines](#virtual-machines) ## Virtual Machines 1. Blueprints are stored in active/software_osbuild 2. Builds are stored in ${HOME}/Images/builds ```bash # These are saved in ~/.bashrc.d/osbuild.sh export OSBUILD_BLUEPRINT_DIR=active/software_osbuild export OSBUILD_CLOUD_DIR=${HOME}/Images/cloud export OSBUILD_BUILD_DIR=${HOME}/Images/builds export OSBUILD_IMAGE_DIR=${HOME}/Images/disks # Push a blueprint composer-cli blueprints push ${OSBUILD_BLUEPRINT_DIR}/fedora43-base.toml # Start a build composer-cli compose start fedora43-base qcow2 # Watch the build watch composer-cli compose list running # Extract the build composer-cli compose image \ --filename ${OSBUILD_BUILD_DIR}/fedora-43-base.qcow2 \ 92a2f1dd-9238-4d50-ab1d-cd7c8e355cac # Convert the build to raw qemu-img convert -f qcow2 -O raw \ ${OSBUILD_BUILD_DIR}/fedora-43-base.qcow2 \ ${OSBUILD_IMAGE_DIR}/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=fedora43 \ --network default \ --graphics none \ --console pty,target.type=virtio \ --name "fedora" \ --import --disk "path=${OSBUILD_IMAGE_DIR}/fedora-boot.raw,bus=virtio" ```