X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=vm_hosted;h=9d6710d7f8e8e57be43023c666a841732afe1a79;hb=9a47c2d3c560e4b03c0672da32d92d3b582fab14;hp=3ac6cedb176debb6697a9bf481c4bc51fc7728d2;hpb=b27661cf8e40872543f86a00922d18573ef83612;p=lhc%2Fateliers.git diff --git a/vm_hosted b/vm_hosted index 3ac6ced..9d6710d 100755 --- a/vm_hosted +++ b/vm_hosted @@ -8,7 +8,6 @@ tool=${tool%/*} . "$tool"/lib/rule.sh . "$tool"/etc/vm.sh export TRACE=1 -cd / rule_help () { # SYNTAX: [--hidden] local hidden; [ ${1:+set} ] || hidden=set @@ -886,6 +885,7 @@ case $rule in (help);; (*) assert 'test "$(hostname --fqdn)" = "$vm_fqdn"' vm_fqdn + cd / ;; esac rule $rule "$@"