blob: 580784d89440932655172b3d96c466edaf30ff32 [file] [log] [blame]
azvyagintsev1e5b9d82018-08-03 12:53:19 +02001parameters:
2 _param:
3 salt_control_cluster_rng_backend: "/dev/random"
Vasyl Saienkoea356da2018-11-23 18:28:24 +02004 salt_control_cluster_vcp_lvm_device: '/dev/vda3'
azvyagintsev1e5b9d82018-08-03 12:53:19 +02005 salt:
6 control:
7 cluster:
8 internal:
9 rng:
10 backend: ${_param:salt_control_cluster_rng_backend}
Andrei Daninc0e48072018-10-03 06:52:25 -070011 seed: cloud-init
12 cloud_init:
13 user_data:
14 salt_minion:
15 conf:
16 master: ${_param:infra_config_deploy_address}
Vasyl Saienkoea356da2018-11-23 18:28:24 +020017 # This part is needed to grow disk for LVM based VCP
18 # NOTE: device name here is dependent on Disk model we connecting
19 # to particular VCP. By default it is virtio.
20 growpart:
21 mode: auto
22 devices:
23 - '/'
24 - ${_param:salt_control_cluster_vcp_lvm_device}
25 ignore_growroot_disabled: false
26 runcmd:
27 - 'if lvs vg0; then pvresize ${_param:salt_control_cluster_vcp_lvm_device}; fi'
28 - 'if lvs vg0; then /usr/bin/growlvm.py --image-layout-file /usr/share/growlvm/image-layout.yml; fi'