Browse Source

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.
postgres
Valentin Lab 11 years ago
parent
commit
d638f5e225
  1. 8
      precise/base-0k/hooks/install

8
precise/base-0k/hooks/install

@ -3,14 +3,18 @@
set -eux # -x for verbose logging to juju debug-log 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 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 ## 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 ## etckeeper

Loading…
Cancel
Save