livecd-rootfs/live-build/ubuntu-core/hooks/03-boot_with_systemd.chroot
James Hunt c676a8fbac * ubuntu-core:
- Don't remove doc to be kind to devs.
  - Boot with systemd (temporary method until we have systemd-sysv).
  - Configure first network interface.
2014-08-04 14:20:50 +01:00

10 lines
283 B
Bash
Executable File

#!/bin/sh -x
# Boot using systemd and disable quiet boot
# to see what is happening.
systemd=/lib/systemd/systemd
sed \
-e 's,^\([ ]*GRUB_CMDLINE_LINUX\)=""$,\1="init=$systemd",g' \
-e 's,^\([ ]*GRUB_CMDLINE_LINUX_DEFAULT\)="quiet splash",\1="",g' \
/etc/default/grub