#!/bin/bash mkdir /var/lib/libvirt/vms chown kit:kit /var/lib/libvirt/vms su - kit -c "VBoxManage setproperty machinefolder /var/lib/libvirt/vms"