You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223
  1. #! /usr/bin/env sh
  2. echo "${DEB_HOSTNAME}" > /etc/hostname &&
  3. apt-get update && \
  4. apt-get install \
  5. --no-install-recommends \
  6. --yes \
  7. --force-yes \
  8. linux-image-amd64 \
  9. live-boot \
  10. systemd-sysv \
  11. openssh-server &&
  12. sed -ie 's/#PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config &&
  13. apt-get install \
  14. --no-install-recommends \
  15. --yes \
  16. --force-yes \
  17. ${DEB_APT_PACKAGES} &&
  18. echo "${DEB_PASSWD}\n${DEB_PASSWD}" | passwd