QubesOS
- Install Software in Template using proxy
- Copy from and to dom0
- Install custom Kernel in TemplateVM
- Attach Devices
- Change Shell in Templates
- Enable USB support on StandaloneVM
- Install Software in dom0
Install Software in Template using proxy
wget proxy
Issue in Terminal:
https_proxy=http://127.0.0.1:8082/ http_proxy=http://127.0.0.1:8082/
Then you can
flatpak install xyz
or
sudo extrepo enable xyz
Clone git in template
git config --global http.proxy http://127.0.0.1:8082
then you can
git clone xyz
Copy from and to dom0
Copy to dom0
qvm-run --pass-io vm-name "cat /path/to/file/in/vm" > "/path/to/file/in/dom0"
Copy from dom0
qvm-copy-to-vm <target_vm> <file>
Install custom Kernel in TemplateVM
install linux kernel
sudo apt install linux linux-headers
grub-install /dev/xvda
grub-mkconfig -o /boot/grub/grub.cfg
mkinitcpio -p linux
- switch vm to HVM in QubesManager
Attach Devices
Attach USB Device
Once
qvm-device usb attach vmname sys-usb:X-x
Persistent
qvm-device usb attach --persistent vmname sys-usb:X-x
Attach Blockdevices
Once
qvm-block attach vmname dom0:diskname
persistent
qvm-block attach --persistent vmname dom0:diskname
Change Shell in Templates
sudo usermod -s /usr/bin/fish user
Enable USB support on StandaloneVM
qvm-features [standalone-qube] stubdom-qrexec 1
Install Software in dom0
sudo qubes-dom0-update <packagename>