Correct latecommand archive name.

This commit is contained in:
Jeremy Gardais 2016-07-25 10:52:52 +02:00
parent dac9d8add1
commit aac4bd0d63
2 changed files with 11 additions and 3 deletions

View File

@ -1,3 +1,10 @@
## Release 0.2.2
### Summary
Bugfixe release.
#### Bugfixes
* Correct latecommand archive name.
## Release 0.2.1 ## Release 0.2.1
### Summary ### Summary

View File

@ -61,13 +61,14 @@ Some useful configurations after a Debian installation:
#### How-to use it #### How-to use it
* First, make an archive of the script and directories: * First, make an archive of the script and directories:
``` ```
tar czvf finish.tar.gz latecommand/ cd scripts/ ;
tar czvf latecommand.tar.gz latecommand/
``` ```
* Then, it can be use at the end of a Debian preseed file: * Then, it can be use at the end of a Debian preseed file:
``` ```
d-i preseed/late_command string in-target chsh -s /bin/zsh ; \ d-i preseed/late_command string in-target chsh -s /bin/zsh ; \
in-target /usr/bin/tftp ${IP.SRV.TFTP} -c get ${PATH/TO/TFTPD/ROOT}/finish.tar.gz /tmp/finish.tar.gz ; \ in-target /usr/bin/tftp ${IP.SRV.TFTP} -c get ${PATH/TO/TFTPD/ROOT}/scripts/latecommand.tar.gz /tmp/latecommand.tar.gz ; \
in-target tar xzf /tmp/finish.tar.gz -C /tmp/ ; \ in-target tar xzf /tmp/latecommand.tar.gz -C /tmp/ ; \
in-target /bin/sh /tmp/latecommand/post.sh in-target /bin/sh /tmp/latecommand/post.sh
``` ```