Chroot: Fix the path of latecommand script

This commit is contained in:
Jeremy Gardais 2019-04-05 17:24:22 +02:00
parent 2f4d4c25d1
commit b873299c0e
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 1 deletions

View File

@ -264,7 +264,7 @@ printf '%b\n' "127.0.0.1 ${new_hostname}" >> /target/etc/hosts
## Call a latecommand script {{{ ## Call a latecommand script {{{
wget -O /tmp/latecommand.tar.gz "https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz" --no-check-certificate wget -O /tmp/latecommand.tar.gz "https://git.ipr.univ-rennes1.fr/cellinfo/tftpboot/raw/master/scripts/latecommand.tar.gz" --no-check-certificate
tar xzf /tmp/latecommand.tar.gz -C /target/tmp/ tar xzf /tmp/latecommand.tar.gz -C /target/tmp/
chroot /target /bin/sh /target/tmp/latecommand/post.stretch.sh chroot /target /bin/sh /tmp/latecommand/post.stretch.sh
## }}} ## }}}
## SSH {{{ ## SSH {{{