Skip to content

Commit

Permalink
Use same RAID defaults as Hetzner
Browse files Browse the repository at this point in the history
  • Loading branch information
yajo committed Dec 7, 2018
1 parent f08d176 commit f0f642e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ bootloader: grub
# HACK https://github.com/hetzneronline/installimage/pull/8
xfs_options: "-n ftype=1"

# By default, enable a RAID 0 (a.k.a. no RAID)
# By default, enable a RAID 1 (a.k.a. mirroring)
swraid: 1
swraid_level: 0
swraid_level: 1

# Partition table definition
partitions:
Expand Down
2 changes: 1 addition & 1 deletion templates/autosetup.j2
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ HOSTNAME {{ inventory_hostname_short }}
DRIVE{{ loop.index }} /dev/{{ device }}
{% endfor %}

# No RAID, Ceph will do the dirty work
# RAID configuration
SWRAID {{ swraid }}
SWRAIDLEVEL {{ swraid_level }}

Expand Down

0 comments on commit f0f642e

Please # to comment.