diff mbox

[Branch,~linaro-validation/lava-dispatcher/trunk] Rev 586: merge dhclient support - lp:~nick-schutt/lava-dispatcher/nicks-highbank-support

Message ID 20130422144520.14076.68977.launchpad@ackee.canonical.com
State Accepted
Headers show

Commit Message

Nick Schutt April 22, 2013, 2:45 p.m. UTC
Merge authors:
  Nicholas Schutt (nick-schutt)
Related merge proposals:
  https://code.launchpad.net/~nick-schutt/lava-dispatcher/nicks-highbank-support/+merge/160111
  proposed by: Nicholas Schutt (nick-schutt)
  review: Approve - Senthil Kumaran S (stylesen)
------------------------------------------------------------
revno: 586 [merge]
committer: Nick Schutt <nick.schutt@linaro.org>
branch nick: trunk
timestamp: Mon 2013-04-22 16:44:20 +0200
message:
  merge dhclient support - lp:~nick-schutt/lava-dispatcher/nicks-highbank-support
modified:
  lava_dispatcher/device/highbank.py


--
lp:lava-dispatcher
https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk

You are subscribed to branch lp:lava-dispatcher.
To unsubscribe from this branch go to https://code.launchpad.net/~linaro-validation/lava-dispatcher/trunk/+edit-subscription
diff mbox

Patch

=== modified file 'lava_dispatcher/device/highbank.py'
--- lava_dispatcher/device/highbank.py	2013-04-18 16:40:27 +0000
+++ lava_dispatcher/device/highbank.py	2013-04-22 13:32:10 +0000
@@ -241,10 +241,15 @@ 
         self.proc.sendline('export PS1="%s"' % self.MASTER_PS1)
         self.proc.expect(self.MASTER_PS1_PATTERN, timeout=180, lava_no_logging=1)
         runner = HBMasterCommandRunner(self)
+
         runner.run(". /scripts/functions")
         device = "eth0"
         runner.run("DEVICE=%s configure_networking" % device)
 
+        runner.run("mkdir -p /var/run")
+        runner.run("mkdir -p /var/lib/dhcp")
+        runner.run("dhclient -v -1")
+
         self.device_version = runner.get_device_version()
 
         try: