Dear forum users,
I'm trying to set up a PXE-booted, fully automated installation of FreeBSD. I got everything set up and working (very sweet I must say), but... at the end of the installation, just before I do the "shutdown", I want to execute some custom command. I've been banging my head against it all day I can't it to work.
Just for testing purposes it I'm trying this:
I don't get any errors executing this so I'm thinking it's ok, but the file is not created.
In the end I want to set the public ip-address (I'm installing from a management-network where the dhcp-server is sitting), and activate sshd in /etc/rc.conf
Anyone got this working?
Any help would be greatly appreciated.
Best regards,
Freddie
I'm trying to set up a PXE-booted, fully automated installation of FreeBSD. I got everything set up and working (very sweet I must say), but... at the end of the installation, just before I do the "shutdown", I want to execute some custom command. I've been banging my head against it all day I can't it to work.
Just for testing purposes it I'm trying this:
Code:
command='touch /root/TEST.txt'
In the end I want to set the public ip-address (I'm installing from a management-network where the dhcp-server is sitting), and activate sshd in /etc/rc.conf
Anyone got this working?
Any help would be greatly appreciated.
Best regards,
Freddie