Fixes an issue when rebooting with an NFS mount.

_netdev mount option helps fix a timing issue when rebooting.
This looks like we're hitting an issue where we're using
network instead of NetworkManager and that systemd doesn't
unmount the NFS shares before stopping network.

Change-Id: I5d2c89db29ef75aaf371b3c9dd561587d7b6f87b
Closes-Bug: #1697752
This commit is contained in:
Marc Methot 2017-06-13 15:23:54 -04:00
parent d2239b31fd
commit 96c4adecb2
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class tripleo::glance::nfs_mount (
$options = 'intr,context=system_u:object_r:glance_var_lib_t:s0',
$edit_fstab = true,
$fstab_fstype = 'nfs4',
$fstab_prepend_options = 'bg'
$fstab_prepend_options = '_netdev,bg'
) {
$images_dir = '/var/lib/glance/images'