Skip to content

Instantly share code, notes, and snippets.

@cobracmder
Created February 13, 2015 20:06
Show Gist options
  • Save cobracmder/c6f5035b8e073f021e26 to your computer and use it in GitHub Desktop.
Save cobracmder/c6f5035b8e073f021e26 to your computer and use it in GitHub Desktop.
test #128 supporting docs
./test-onie.py -I eth1 -i 192.168.1.100/24 -m 7072cfaa34fa -t 13 -o onie_installer demo-installer-powerpc-accton_as4600_54t-r0.bin onie_arch powerpc onie_vendor 259 onie_machine accton_as4600_54t onie_machine_rev 0
2015-02-13T12:19:46 - INFO - Loaded 80 tests from config/onie-tests.json
2015-02-13T12:19:46 - INFO - Configuring for Test 13 - DHCP Inexact - HTTP Server IP - Name 1
2015-02-13T12:19:46 - INFO - Starting http
2015-02-13T12:19:46 - INFO - Starting dhcp
Internet Systems Consortium DHCP Server 4.2.4
Copyright 2004-2012 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
/home/ubuntu/working/onie/contrib/autobuild/output/test-13/dhcpd.conf line 47: 192.168.1.1 (262): expecting IP address or hostname
option www-server "192.168.1.1"
^
Configuration file errors encountered -- exiting
2015-02-13T12:19:51 - INFO - Sending SIGTERM to dhcp
2015-02-13T12:19:51 - INFO - Sending SIGTERM to http
/home/ubuntu/working/onie/contrib/autobuild/output/test-13/http.sh: line 6: 4152 Killed sudo nginx -c /home/ubuntu/working/onie/contrib/autobuild/output/test-13/nginx.conf
2015-02-13T12:19:51 - INFO - Waiting for dhcp to cleanup
2015-02-13T12:19:51 - INFO - Waiting for http to cleanup
Press enter to stop all services
@cbrune
Copy link

cbrune commented Feb 14, 2015

There should not be quotes "" for the option. This option can also be a comma separated list of IP addresses or hostnames. Something like this works:

option www-server server.utsa.edu, 10.0.1.251, 10.0.1.249;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment