Skip to content
This repository was archived by the owner on Dec 17, 2021. It is now read-only.

Commit b1ff63e

Browse files
committed
Add initial install-root/* files
1 parent d22e18d commit b1ff63e

13 files changed

+471
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
sethostname_config() {
4+
IP_ADDR=$(/sbin/ip -o -f inet addr show dev eth1 \
5+
| cut -d/ -f1 \
6+
| awk '{print $4}' \
7+
| sed "s/\./\-/g")
8+
9+
hostname "ip-${IP_ADDR}"
10+
}
11+
sethostname_restore() {
12+
:
13+
}
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
add_dracutmodules+=" dmsquash-live "

install-root/etc-hosts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
127.0.0.1 localhost localhost.localdomain
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
start on stopped rc RUNLEVEL=[2345]
2+
3+
task
4+
5+
console output
6+
7+
exec /usr/bin/lml_init
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
activation {
2+
thin_pool_autoextend_threshold=60
3+
thin_pool_autoextend_percent=20
4+
5+
}

install-root/etc-sudoers.d-ll-user

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Override built-in defaults for ll-user
2+
Defaults:ll-user !requiretty
3+
4+
# User rules for ll-user
5+
ll-user ALL=(ALL) NOPASSWD:ALL

install-root/etc-sysconfig-docker

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# The max number of open files for the daemon itself, and all
2+
# running containers. The default value of 1048576 mirrors the value
3+
# used by the systemd service unit.
4+
DAEMON_MAXFILES=1048576
5+
6+
# Additional startup options for the Docker daemon, for example:
7+
# OPTIONS="--ip-forward=true --iptables=true"
8+
# By default we limit the number of open files per container
9+
OPTIONS="--host tcp://0.0.0.0:2376 --host unix:///var/run/docker.sock --tlsverify --tlscacert /etc/docker/certs/ca.pem --tlscert /etc/docker/certs/server.pem --tlskey /etc/docker/certs/server-key.pem --default-ulimit nofile=1024:4096"
10+
11+
# How many seconds the sysvinit script waits for the pidfile to appear
12+
# when starting the daemon.
13+
DAEMON_PIDFILE_TIMEOUT=10

install-root/etc-sysconfig-network

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
NETWORKING=yes
2+
HOSTNAME=localhost.localdomain
3+
NOZEROCONF=yes
4+
NETWORKING_IPV6=no
5+
IPV6INIT=no
6+
IPV6_ROUTER=no
7+
IPV6_AUTOCONF=no
8+
IPV6FORWARDING=no
9+
IPV6TO4INIT=no
10+
IPV6_CONTROL_RADVD=no
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
DEVICE=eth0
2+
BOOTPROTO=dhcp
3+
ONBOOT=yes
4+
TYPE=Ethernet
5+
USERCTL=yes
6+
PEERDNS=yes
7+
IPV6INIT=no
8+
PERSISTENT_DHCLIENT=yes
9+
RES_OPTIONS="timeout:2 attempts:5"
10+
DHCP_ARP_CHECK=no
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
DEVICE=eth1
2+
BOOTPROTO=dhcp
3+
ONBOOT=yes
4+
TYPE=Ethernet
5+
USERCTL=yes
6+
PEERDNS=yes
7+
IPV6INIT=no
8+
PERSISTENT_DHCLIENT=yes
9+
RES_OPTIONS="timeout:2 attempts:5"
10+
DHCP_ARP_CHECK=no

0 commit comments

Comments
 (0)