blob: ed22f28616d8561e51b3e14faee31145ca452e63 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
HOSTNAME {{ host_name }}{% if host_domain %}.{{ host_domain }}{% endif %}{{ '' }}
{% if cloud_provider == "hroot" %}
{% if install_cooked.disks.primary == "software-raid" %}
{% for raid_member in install_cooked.disks.raid.members %}
DRIVE{{ loop.index }} {{ raid_member }}
{% endfor %}
SWRAID 1
SWRAIDLEVEL {{ install_cooked.disks.raid.level }}
{% else %}
DRIVE1 {{ install_cooked.disks.primary }}
{% endif %}
{% elif cloud_provider == "hcloud" %}
DRIVE1 /dev/sda
{% endif %}
BOOTLOADER grub
PART /boot ext4 512M
PART lvm {{ host_name }} {{ install_cooked.disks.root_lvm_size }}
{% if install_cooked.disks.root_lvm_size != "all" %}
PART /dummy ext4 all
{% endif %}
LV {{ host_name }} root / ext4 2560M
LV {{ host_name }} var /var ext4 1280M
LV {{ host_name }} var+log /var/log ext4 768M
IMAGE {{ latest_image.stdout }}
|