Commit e1927a3f authored by Leigh Stoller's avatar Leigh Stoller

Call clone_image instead of create_image.

parent b24830ce
......@@ -3936,16 +3936,12 @@ class node:
argstr += " -w "
pass
pass
elif opt == "imageproj":
argstr += " -p "
argstr += escapeshellarg(val)
pass
pass
argstr += " " + escapeshellarg(argdict["imagename"])
argstr += " " + escapeshellarg(argdict["node"])
(exitval, output) = runcommand(TBDIR + "/bin/create_image " + argstr)
(exitval, output) = runcommand(TBDIR + "/sbin/clone_image " + argstr)
if exitval:
return EmulabResponse(RESPONSE_ERROR, exitval >> 8, output=output)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment