X-Git-Url: https://git.cyclocoop.org/?p=lhc%2Fateliers.git;a=blobdiff_plain;f=host%2Fdebootstrap;fp=host%2Fdebootstrap;h=1226ed49dbd8df087f2b3c712d9ec6ebeb5566b2;hp=50e24eafa1b91a9193d4d970f49e3bcd99d7be83;hb=0d705d8e2a919ee40866307aa3e18b1a5c4e7583;hpb=3ad6118386977e346d81042e924e5db9c5f15b7d diff --git a/host/debootstrap b/host/debootstrap index 50e24ea..1226ed4 100755 --- a/host/debootstrap +++ b/host/debootstrap @@ -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