Skip to content

Commit

Permalink
disable networking to avoid slow pxe boot
Browse files Browse the repository at this point in the history
  • Loading branch information
Charlie Somerville committed Apr 20, 2014
1 parent e99a5ed commit 85c4f54
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,13 @@

Timeout.timeout(10) do
server = TCPServer.new(4444)
qemu = IO.popen([QEMU, "-monitor", "tcp:127.0.0.1:4444", "-nographic", "-fda", IMG], "r+")
qemu = IO.popen([
QEMU,
"-monitor", "tcp:127.0.0.1:4444",
"-net", "none",
"-nographic",
"-fda", IMG,
], "r+")
monitor = server.accept

puts monitor.gets
Expand Down

0 comments on commit 85c4f54

Please sign in to comment.