mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-07 03:55:13 +00:00
Invoke mkinitrd after zypper runs
This commit is contained in:
parent
e1c15cca8e
commit
2e10289807
@ -509,6 +509,8 @@ class SuseHandler(OsHandler):
|
||||
subprocess.check_call(cmd)
|
||||
subprocess.check_call(['zypper', '-R', self.targpath, 'install'] + self.zyppargs)
|
||||
os.symlink('/usr/lib/systemd/system/sshd.service', os.path.join(self.targpath, 'etc/systemd/system/multi-user.target.wants/sshd.service'))
|
||||
args.cmd = ['mkinitrd']
|
||||
run_constrainedx(fancy_chroot, (args, self.targpath))
|
||||
|
||||
|
||||
class DebHandler(OsHandler):
|
||||
|
Loading…
Reference in New Issue
Block a user