return self.key_spec['name']
def publicpath(self):
- return "%s/keys/%s.pub"%(self.test_plc.path,self.name())
+ return "/root/%s/keys/%s.pub"%(self.test_plc.path,self.name())
def privatepath(self):
- return "%s/keys/%s.rsa"%(self.test_plc.path,self.name())
+ return "/root/%s/keys/%s.rsa"%(self.test_plc.path,self.name())
def store_key(self):
pub=self.publicpath()
for tcp_spec in tcp_param:
#copy the tcptest file under the chroot
path=options.path
- localfile=path+"/tcptest.py"
+ localfile="/root/"+path+"/tcptest.py"
remotefile="tcptest.py"
self.test_plc.copy_in_guest(localfile, remotefile, False)
peer_param=tcp_spec['tcp_fields']