mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-08-22 09:50:37 +00:00
Added some cursory buster/kvm example manifests
This commit is contained in:
parent
0d0e3e5513
commit
4ecfa66b3a
3 changed files with 124 additions and 0 deletions
48
manifests/examples/kvm/buster-cloudimg.yml
Normal file
48
manifests/examples/kvm/buster-cloudimg.yml
Normal file
|
@ -0,0 +1,48 @@
|
||||||
|
---
|
||||||
|
name: debian-{system.release}-{system.architecture}-{%Y}{%m}{%d}
|
||||||
|
provider:
|
||||||
|
name: kvm
|
||||||
|
virtio:
|
||||||
|
- virtio
|
||||||
|
- virtio_pci
|
||||||
|
- virtio_balloon
|
||||||
|
- virtio_blk
|
||||||
|
- virtio_net
|
||||||
|
- virtio_ring
|
||||||
|
console: virtual
|
||||||
|
bootstrapper:
|
||||||
|
workspace: /target
|
||||||
|
system:
|
||||||
|
release: stretch
|
||||||
|
architecture: amd64
|
||||||
|
bootloader: grub
|
||||||
|
charmap: UTF-8
|
||||||
|
locale: en_US
|
||||||
|
timezone: UTC
|
||||||
|
packages:
|
||||||
|
components:
|
||||||
|
- main
|
||||||
|
- contrib
|
||||||
|
- non-free
|
||||||
|
install_standard: true
|
||||||
|
install:
|
||||||
|
- task-ssh-server
|
||||||
|
- cloud-init
|
||||||
|
- cloud-utils
|
||||||
|
volume:
|
||||||
|
backing: qcow2
|
||||||
|
partitions:
|
||||||
|
type: msdos
|
||||||
|
root:
|
||||||
|
filesystem: ext4
|
||||||
|
size: 2GiB
|
||||||
|
mountopts:
|
||||||
|
- defaults
|
||||||
|
- noatime
|
||||||
|
- errors=remount-ro
|
||||||
|
plugins:
|
||||||
|
minimize_size:
|
||||||
|
zerofree: true
|
||||||
|
shrink: qemu-img
|
||||||
|
apt:
|
||||||
|
autoclean: true
|
29
manifests/examples/kvm/buster-console.yml
Normal file
29
manifests/examples/kvm/buster-console.yml
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
---
|
||||||
|
name: debian-{system.release}-{system.architecture}-{%Y}{%m}{%d}
|
||||||
|
provider:
|
||||||
|
name: kvm
|
||||||
|
virtio:
|
||||||
|
- virtio_blk
|
||||||
|
- virtio_net
|
||||||
|
- virtio_ring
|
||||||
|
console: virtual
|
||||||
|
bootstrapper:
|
||||||
|
workspace: /target
|
||||||
|
system:
|
||||||
|
release: stretch
|
||||||
|
architecture: amd64
|
||||||
|
bootloader: grub
|
||||||
|
charmap: UTF-8
|
||||||
|
locale: en_US
|
||||||
|
timezone: UTC
|
||||||
|
volume:
|
||||||
|
backing: raw
|
||||||
|
partitions:
|
||||||
|
type: msdos
|
||||||
|
root:
|
||||||
|
filesystem: ext4
|
||||||
|
size: 2GiB
|
||||||
|
mountopts:
|
||||||
|
- defaults
|
||||||
|
- noatime
|
||||||
|
- errors=remount-ro
|
47
manifests/examples/kvm/buster-virtio-partitions.yml
Normal file
47
manifests/examples/kvm/buster-virtio-partitions.yml
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
---
|
||||||
|
name: debian-{system.release}-{system.architecture}-{%Y}{%m}{%d}
|
||||||
|
provider:
|
||||||
|
name: kvm
|
||||||
|
virtio:
|
||||||
|
- 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
|
Loading…
Add table
Reference in a new issue