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.
 
 
 
 
 
cdist-mirror/cdist/preos/debootstrap/files/init-manifest-debian

39 lines
975 B

#!/bin/sh
# basic init manifest for PreOS config
for pkg in \
file \
linux-image-amd64 \
lsb-release \
dosfstools \
gdisk \
openssh-server curl \
pxelinux syslinux-common \
gdisk util-linux lvm2 mdadm \
btrfs-tools e2fsprogs jfsutils reiser4progs xfsprogs; do
__package $pkg --state present
done
# initramfs requires /init
__link /init --source /sbin/init --type symbolic
__file /etc/network/interfaces --source - --mode 0644 << eof
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
allow-hotplug eth0
iface eth0 inet dhcp
eof
# Steven found this out - coyping it 1:1
# fix the bloody 'stdin: is not a tty' problem
__line /root/.profile --line 'mesg n' --state absent
# skipped for now, in case of systemd __hostname uses
# hostnamectl for setting hostname and it needs dbus running
# __hostname --name preos
# hostname setting is currently done before this configuration