From 0fffb61ab78e9330379c77ca68f8d272c45ab3d0 Mon Sep 17 00:00:00 2001 From: Vadim Kuznetsov Date: Tue, 13 Nov 2018 13:29:34 -0500 Subject: [PATCH] ensure the mount unit is started after reboot /var/lib/machines was not mounted after reboot because of missing install section Change-Id: I10f3b83e63ccdf08f9f782dee7f5be1fd7bbe139 --- templates/var-lib-machines.mount | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/var-lib-machines.mount b/templates/var-lib-machines.mount index 4c005003..33b5e10b 100644 --- a/templates/var-lib-machines.mount +++ b/templates/var-lib-machines.mount @@ -14,3 +14,6 @@ What=/var/lib/machines.raw Where=/var/lib/machines Type=btrfs Options=loop,defaults,noatime,nodiratime,compress=lzo,commit=120,{{ (ansible_kernel is version_compare('4.5', '>=')) | ternary('space_cache=v2', 'space_cache') }} + +[Install] +WantedBy=multi-user.target