The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 807 - File: showthread.php PHP 7.3.15 (Linux)
File Line Function
/showthread.php 807 errorHandler->error

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
vcreate in script and system reset
2012-07-25, 01:11
Post: #1
vcreate in script and system reset
I am attempting to use an ipxe script to set up a vlan (2500) on net0 and initiate a dhcp on the interface (net0-2500). Here is the script I am trying to use.


vcreate --tag 2500 net0
dhcp net0-2500

chain -c

The system behaves as though the reset button is pushed a split second after the vcreate is run. I have shortened the script down to just:


vcreate --tage 2500 net0

to try and troubleshoot the problem but the reset occurs before I get the shell prompt. Here is the funny thing. If I type the Ctrl-B sequence, I can get to the ipxe prompt. From there if I type the vcreate, dhcp and chain commands manually at the commandline, it all works (!?). Any ideas why the commands in a script would cause a system reset where interactive entry of the same commands works fine?

Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
vcreate in script and system reset - dmcgarty - 2012-07-25 01:11

User(s) browsing this thread: 1 Guest(s)