Chroot: Fix the path of latecommand script
This commit is contained in:
parent
2f4d4c25d1
commit
b873299c0e
|
@ -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 {{{
|
||||||
|
|
Loading…
Reference in New Issue