Kasidakis Theodoros
Kasidakis Theodoros
Well if you notice the example at the docs you will see how is the pattern. First the config value is a dictionary: Check this : config = {'name': 'DetectionSvc',...
Actually from the docs and from some trial and error :). I am not fully familiar and I can't use it like the command like but the general idea is...
/home/tkasidakis/.local/lib/python3.6/site-packages/pylxd/models/operation.py:79: UserWarning: Attempted to set unknown attribute "location" on instance of "Operation" .format(key, self.__class__.__name__)) I get this message when i am using the execute() commnad . I am using lxd...
Yes i think that a hit this bug . Fortunately subprocess.run() does the job :)
``` while(1): svc=input() # reads the service name and loads it approprialy # if(svc=="list"): print("hello") else: n.load_service(svc) def load_service(self,svcname): existval = LXDmanager.containers.exists(svcname) if(existval==True): print("Service in a Container already exists") commandsToSvcConatiner=['lxc','exec',svcname,'python3',svcname+'.py']...