X-Git-Url: https://git.cyclocoop.org/?a=blobdiff_plain;f=vm_hosted;h=c87f309ece1ea2c36b7c2debfde4cf8903adaced;hb=6dd8add65ae14c272df64a12f00a142314c0b2b1;hp=b467527111c6852b804253d4fc3bc5c411361927;hpb=d1d758aa420bb73f0622d549a3881a79de52883b;p=lhc%2Fateliers.git diff --git a/vm_hosted b/vm_hosted index b467527..c87f309 100755 --- a/vm_hosted +++ b/vm_hosted @@ -10,7 +10,8 @@ rule_help () { # SYNTAX: [--hidden] DESCRIPTION: ce script regroupe des règles pour administrer la VM ($vm_fqdn) _depuis_ la VM hébergée ($vm_fqdn) ; - il sert à la fois d'outil et de documentation. + il sert à la fois d'outil (aisément bidouillable) + et de documentation (préçise). Voir \`$tool/vm_host' pour les règles côté machine hôte ($vm_host). SYNTAX: $0 \$RULE \${RULE}_SYNTAX RULES: @@ -31,7 +32,7 @@ rule_git_config () { rule_git_reset () { ( cd "$tool" - git checkout -f -B master origin + git checkout -f -B master remotes/master git clean -f -d -x ) } @@ -64,7 +65,7 @@ rule_apt_init () { } rule_apticron_init () { sudo apt-get install --reinstall apticron - mk_reg mod=644 own=root:root /etc/default/grub <<-EOF + mk_reg mod=644 own=root:root /etc/apticron/apticron.conf <<-EOF EMAIL="admin@heureux-cyclage.org" # DIFF_ONLY="1" # LISTCHANGES_PROFILE="apticron"