From d638f5e22558dd2b17e8085d42a01fcd9155e25c Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Mon, 23 Jun 2014 13:45:04 +0200 Subject: [PATCH] fix: [base-0k] disable nfs code. !minor Probably will remove all nfs code as it proved to be very fragile and prompt to very badly freeze a lot of daemon and would eventually bring down the host. --- precise/base-0k/hooks/install | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/precise/base-0k/hooks/install b/precise/base-0k/hooks/install index 89760e3..cea16ea 100755 --- a/precise/base-0k/hooks/install +++ b/precise/base-0k/hooks/install @@ -3,14 +3,18 @@ set -eux # -x for verbose logging to juju debug-log apt-get -y install bash-completion wget bzip2 git-core less language-pack-en python-software-properties tmux sudo git -apt-get -y install mountall ## nasty nfs bug corrected +#apt-get -y install mountall ## nasty nfs bug corrected ## ## Allows to mount nfs shares ## -test "$(lsb_release -c -s)" == "precise" && apt-get -y install nfs-common +## XXXvlab: interracts really badly with current chroot mode. Leaving +## daemonized process reparented to PID 1 that prevents umounting and +## finally making the script failing, and then lxc-create launch a lxc-destroy +## triggering a 'rm -rf' upon '/dev'... +#test "$(lsb_release -c -s)" == "precise" && apt-get -y install nfs-common ## ## etckeeper