Commits

William Pitcock  committed d15bde1

archlinux: enable the sshd service

  • Participants
  • Parent commits 992fb60

Comments (0)

Files changed (1)

File appliancekit/specs/arch-base.spec

 	{"operation": "render_template", "template": "arch/mirrorlist.tmpl", "target": "/etc/pacman.d/mirrorlist"},
 	{"operation": "render_template", "template": "base/resolv.conf.tmpl", "target": "/etc/resolv.conf"},
 	{"operation": "runcmd", "chroot": true, "command": ["pacman", "-Sy", "--noconfirm", "openssh"]},
+	{"operation": "runcmd", "chroot": true, "command": ["ln", "-sf", "/usr/lib/systemd/system/sshd.service", "/etc/systemd/system/multi-user.target.wants/sshd.service"]},
 	{"operation": "render_template", "template": "arch/grub-menu.lst.tmpl", "target": "/boot/grub/menu.lst"},
 	{% for path in bindmounts %}
 		{"operation": "runcmd", "chroot": false, "command": ["umount", "$chroot/{{ path }}"]},