Modification : $vm_ -> $local_ .
[lhc/ateliers.git] / host / debootstrap
index 50e24ea..1226ed4 100755 (executable)
@@ -8,7 +8,7 @@ tool=$(readlink -e "${0%/*}/..")
 "$tool"/host/part-boot-mount
 "$tool"/host/part-var-mount
 sudo DEBOOTSTRAP_DIR=/usr/share/debootstrap/ LANG=C LC_CTYPE=C debootstrap \
- --arch=$vm_arch --verbose --keyring=/usr/share/keyrings/debian-archive-keyring.gpg \
+ --arch=$local_arch --verbose --keyring=/usr/share/keyrings/debian-archive-keyring.gpg \
  --exclude=vim-tiny \
  --include=$(printf '%s,' \
         acl \
@@ -50,7 +50,7 @@ sudo DEBOOTSTRAP_DIR=/usr/share/debootstrap/ LANG=C LC_CTYPE=C debootstrap \
         wget \
         zsh \
  ) \
- $vm_lsb_name /mnt/$vm_fqdn/ \
+ $local_lsb_name /mnt/$local_fqdn/ \
  http://ftp.fr.debian.org/debian/
 "$tool"/host/part-var-umount
 "$tool"/host/part-boot-umount