remove typo in service unit enable

This commit is contained in:
Christophe Siraut 2018-10-03 11:33:58 +02:00
parent d5fc9066dd
commit 0b7974d272
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class Machine(object):
def config(self):
self.configuration.realize()
if self.enable:
os.system('systemctl enable systemd-nspawn@$%s.service' % self.name)
os.system('systemctl enable systemd-nspawn@%s.service' % self.name)
def start(self):
os.system('machinectl start %s' % self.name)