bootstrap-vz/manifests/examples/kvm/stretch-virtio-partitions.yml
Veli-Matti Lintu a0007b48a9 Add new attribute 'mode' for partitions to set the permissions of the
mountpoints. Without this having /tmp on separate partition results
in error as the permissions of /tmp are 0755. Setting them to 01777
fixes the setup.
2018-02-06 15:56:24 +02:00

47 lines
781 B
YAML

---
name: debian-{system.release}-{system.architecture}-{%Y}{%m}{%d}
provider:
name: kvm
virtio_modules:
- virtio_pci
- virtio_blk
bootstrapper:
workspace: /target
system:
release: stretch
architecture: amd64
bootloader: grub
charmap: UTF-8
locale: en_US
timezone: UTC
volume:
backing: raw
partitions:
type: gpt
boot:
filesystem: ext2
size: 1GiB
swap:
size: 128MiB
root:
filesystem: ext4
size: 8GiB
tmp:
mountopts:
- nodev
- noexec
- nosuid
- journal_ioprio=3
filesystem: ext4
size: 1GiB
mode: '1777'
var:
filesystem: ext4
size: 1GiB
var/tmp:
filesystem: ext4
size: 1GiB
plugins:
root_password:
password: test