aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/templates/cmdline.j2
blob: d3bd2e74f5238f0ce68aaec1d2c440e22b6a5597 (plain) (blame)
1
2
3
4
5
6
7
8
{% if 'subvolume' in root %}
{% set subvol = root.subvolume %}
{% elif ansible_distribution_release == 'Rawhide' %}
{% set subvol = '/rawhide' %}
{% else %}
{% set subvol = '/%s%s' % (ansible_distribution.lower(), ansible_distribution_version) %}
{% endif %}
console=ttyS0,115200n8 ro root={{ root.device }} rootfstype=btrfs ro rootflags={{ root.options|regex_replace('noatime,','') }},subvol={{ subvol }} rootwait audit=0