Results 1 to 1 of 1
Does anyone know what the default directory is for things run in %post?
Some background to make the question make sense:
I am trying to use post to create a ...
- 05-04-2011 #1Just Joined!
- Join Date
- Apr 2011
- Posts
- 9
%post script in kickstart and locate
Does anyone know what the default directory is for things run in %post?
Some background to make the question make sense:
I am trying to use post to create a script to be run after reboot. To do this i'm echoing the script to a file. My %post looks like this
%post
echo '#chkconfig 2345 90 10' > install1
echo '#description: install1' >> install1
echo '#!/bin/bash' >> install1
echo '#some script' >> install1
chkconfig --add install1
%end
It did not run on reboot unfortunately, but i think i can fix that later. Right now i really need to figure out where it put install1. I tried "locate install1" and get the reply "/install1" but when i do an ls it isn't there. I know i'm missing something really simple here so i'd appreciate any feedback


Reply With Quote