Correct latecommand archive name.
This commit is contained in:
parent
dac9d8add1
commit
aac4bd0d63
|
@ -1,3 +1,10 @@
|
|||
## Release 0.2.2
|
||||
### Summary
|
||||
|
||||
Bugfixe release.
|
||||
|
||||
#### Bugfixes
|
||||
* Correct latecommand archive name.
|
||||
|
||||
## Release 0.2.1
|
||||
### Summary
|
||||
|
|
|
@ -61,13 +61,14 @@ Some useful configurations after a Debian installation :
|
|||
#### How-to use it
|
||||
* 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 :
|
||||
```
|
||||
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 tar xzf /tmp/finish.tar.gz -C /tmp/ ; \
|
||||
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/latecommand.tar.gz -C /tmp/ ; \
|
||||
in-target /bin/sh /tmp/latecommand/post.sh
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue