From ede69ab308a7dbb760947057704924050a0f0196 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 9 Sep 2019 19:50:45 +0200 Subject: minor refactoring --- roles/cloud/install/templates/hetzner_postinst.sh.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/cloud/install/templates') diff --git a/roles/cloud/install/templates/hetzner_postinst.sh.j2 b/roles/cloud/install/templates/hetzner_postinst.sh.j2 index 7991ea19..ac357db6 100644 --- a/roles/cloud/install/templates/hetzner_postinst.sh.j2 +++ b/roles/cloud/install/templates/hetzner_postinst.sh.j2 @@ -28,7 +28,7 @@ rm -f /swapfile {% if install_cooked.disks.root_lvm_size != "all" %} sed -e '/\/dummy/d' -i /etc/fstab -cat > /post-post-install.sh < /post-install-finalize < /dev/null | awk -F = '/MD_DEVICE_.*_DEV=/ { print(\$2) }') @@ -44,7 +44,7 @@ fi rm -rf /dummy EOF -chmod +x /post-post-install.sh +chmod +x /post-install-finalize {% endif %} {% if install_distro == "debian" %} -- cgit v1.2.3