example vm modifier
git-svn-id: file:///home/svn/framework3/trunk@13410 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
d4e85c1dfa
commit
5f3cd45d07
|
@ -0,0 +1,22 @@
|
|||
# This assumes you're on a recent ubuntu
|
||||
# TODO - enforce this, or split it out...
|
||||
|
||||
module Lab
|
||||
module Modifier
|
||||
module Test
|
||||
|
||||
def install_nmap
|
||||
run_command("sudo apt-get install nmap")
|
||||
end
|
||||
|
||||
def nmap(options)
|
||||
run_command("nmap #{filter_input(options)}")
|
||||
end
|
||||
|
||||
def test
|
||||
run_command("echo yo!")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue