Hello,
I'm using a custom ISO with a bsdinstall installerconfig script.
What I know is that installerconfig is splitted by bsdinstall and everything behind the shebang (included itself) is executed after installation in the chrooted new system freshly installed. And that works pretty well
But, I can't achieve a file copy from my custom ISO to the new system ! Hence I'm limited to the old school cat in the second part of my installerconfig...
And I have to escape my $ to make them print on the final file...
Anyone with a clever idea ?
I appreciate your time on reading,
B
I'm using a custom ISO with a bsdinstall installerconfig script.
What I know is that installerconfig is splitted by bsdinstall and everything behind the shebang (included itself) is executed after installation in the chrooted new system freshly installed. And that works pretty well
But, I can't achieve a file copy from my custom ISO to the new system ! Hence I'm limited to the old school cat in the second part of my installerconfig...
cat > /my/new/system/file.sh << EOL
And I have to escape my $ to make them print on the final file...
Anyone with a clever idea ?
I appreciate your time on reading,
B