PXE client script autorun
PXE client script autorun
I am working on a pxe solution but I want a script to run on the scripts as soon as they are booted. I have the files in /rootcopy and I can manually run them but I want them to run automatically.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: PXE client script autorun
Welcome to Porteus.
Make the script to run scripts executable, then use boot parameter (cheatcode) cliexec=/Path/to/<script to run scripts>
Make the script to run scripts executable, then use boot parameter (cheatcode) cliexec=/Path/to/<script to run scripts>
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
Re: PXE client script autorun
I tried this but the application will not run in the PXE client. I can manually run the script from /burnintest/start.sh but it does not from /mnt/sda1/boot/syslinux/porteus.cfg.
This is the line I added cliexec=/burnintest/start.sh
I want the script to run after the desktop environment is loaded.
Thanks
This is the line I added cliexec=/burnintest/start.sh
I want the script to run after the desktop environment is loaded.
Thanks
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: PXE client script autorun
Make sure:
1) The script exists on the client
2) The script is executable
Use guiexec= instead of cliexec=
1) The script exists on the client
2) The script is executable
Use guiexec= instead of cliexec=
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.