Zvirt takes snapshots of Libvirt domains using ZFS.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

34 lines
682 B

#cloud-config
disk_setup:
/dev/vdb:
table_type: gpt
layout: true
overwrite: true
fs_setup:
- label: zvol
filesystem: xfs
device: /dev/vdb
partition: auto
mounts:
- [ LABEL=zvol, /test/zvol, xfs, "defaults,nofail", "0", "2" ]
bootcmd:
- setsebool -P virt_qemu_ga_run_unconfined on
- setsebool -P virt_qemu_ga_read_nonsecurity_files on
runcmd:
- install -o root -g root -m 0777 -d /test/zvol
- chmod 0777 /test/zvol
- mount -a
users:
- name: e2e
gecos: End-to-End Test User
sudo: ALL=(ALL) NOPASSWD:ALL
groups: wheel
lock_passwd: false
# echo -n test | mkpasswd -m bcrypt -s
passwd: $2b$05$Oh13XsRSrGrL/iSvV0Rax.w7rQMx/6lyBTCuaEVXrdh/qiagci9bS