changes to have DockerNode based off a CoreNode instead, elminating the need for a lot of boiler plate
This commit is contained in:
parent
9825706e03
commit
5971950523
4 changed files with 17 additions and 340 deletions
|
@ -26,6 +26,7 @@ if __name__ == "__main__":
|
|||
print(node_one.cmd_output("ifconfig"))
|
||||
print(node_two.cmd_output("ifconfig"))
|
||||
input("press key to continue")
|
||||
session.instantiate()
|
||||
finally:
|
||||
input("continue to shutdown")
|
||||
coreemu.shutdown()
|
||||
|
|
|
@ -26,6 +26,7 @@ if __name__ == "__main__":
|
|||
print(node_one.cmd_output("ifconfig"))
|
||||
print(node_two.cmd_output("ifconfig"))
|
||||
input("press key to continue")
|
||||
session.instantiate()
|
||||
finally:
|
||||
input("continue to shutdown")
|
||||
coreemu.shutdown()
|
||||
|
|
|
@ -31,6 +31,7 @@ if __name__ == "__main__":
|
|||
print(node_one.cmd_output("ifconfig"))
|
||||
print(node_two.cmd_output("ifconfig"))
|
||||
input("press key to continue")
|
||||
session.instantiate()
|
||||
finally:
|
||||
input("continue to shutdown")
|
||||
coreemu.shutdown()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue