hi
i need copy custom script from iso to directory in the system.
How can i do this?
I think i can do this in %post section, but all my attempt was failed
Example:
%post --nochroot --log /mnt/sysimage/root/ks.log.0
cp /mnt/source/tst,sh /mnt/sysimage/root/tst.sh
%end
Please help me!
If you can give an example, please!
Centos 7 kickstart copy from iso
Re: Centos 7 kickstart copy from iso
The kickstart used to install the system is already present in /root/anaconda-ks.cfg
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Centos 7 kickstart copy from iso
yes i know
i need full automatically installation, i think i can do this use custom kickstart.
is it true?
i need full automatically installation, i think i can do this use custom kickstart.
is it true?
Re: Centos 7 kickstart copy from iso
yes i found solution
You can put your files into iso into folder (ex. scripts) (you can locate this folder into root iso)
and in kickstart file you can run command (ex. cp -r /run/install/repo/scripts/test.sh /mnt/sysimage/... ) (... - it's / directory in future system)
You can put your files into iso into folder (ex. scripts) (you can locate this folder into root iso)
and in kickstart file you can run command (ex. cp -r /run/install/repo/scripts/test.sh /mnt/sysimage/... ) (... - it's / directory in future system)