parser.add_option("-u","--url",action="store", dest="myplc_url",
help="myplc URL - for locating build output")
parser.add_option("-b","--build",action="store", dest="build_url",
- help="Build URL - for using myplc-init-vserver.sh in native mode")
+ help="Build URL - for using vtest-init-vserver.sh in native mode")
parser.add_option("-c","--config",action="callback", callback=TestMain.optparse_list, dest="config",
nargs=1,type="string",
help="config module - can be set multiple times")
# xxx this would not work with hostname != localhost as mylc-init-vserver was extracted locally
def install_vserver_create(self,options):
- # we need build dir for myplc-init-vserver
+ # we need build dir for vtest-init-vserver
build_dir=self.path+"/build"
if not os.path.isdir(build_dir):
if utils.system("svn checkout %s %s"%(options.build_url,build_dir)) != 0:
repo_url = options.myplc_url
repo_url = os.path.dirname(repo_url)
repo_url = os.path.dirname(repo_url)
- command="%s/myplc-init-vserver.sh %s %s -- --interface eth0:%s"%\
+ command="%s/vtest-init-vserver.sh %s %s -- --interface eth0:%s"%\
(build_dir,self.vservername,repo_url,self.vserverip)
if utils.system(command) != 0:
raise Exception,"Could not create vserver for %s"%self.vservername