From cad7c6bb2585cff09e6b585ef0319455e54f9873 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Fri, 20 Mar 2015 11:26:34 +0100 Subject: [PATCH] added a few configuration files for the LiveUSB image --- contrib/liveusb/etc/default/grub | 7 +++++++ contrib/liveusb/etc/hostname | 1 + contrib/liveusb/etc/hosts | 10 ++++++++++ .../liveusb/{ => etc/systemd/system}/dhclient.service | 0 contrib/liveusb/{ => etc/systemd/system}/setup.service | 0 contrib/liveusb/etc/tuned/active_profile | 1 + 6 files changed, 19 insertions(+) create mode 100644 contrib/liveusb/etc/default/grub create mode 100644 contrib/liveusb/etc/hostname create mode 100644 contrib/liveusb/etc/hosts rename contrib/liveusb/{ => etc/systemd/system}/dhclient.service (100%) rename contrib/liveusb/{ => etc/systemd/system}/setup.service (100%) create mode 100644 contrib/liveusb/etc/tuned/active_profile diff --git a/contrib/liveusb/etc/default/grub b/contrib/liveusb/etc/default/grub new file mode 100644 index 000000000..d3bd7ac6b --- /dev/null +++ b/contrib/liveusb/etc/default/grub @@ -0,0 +1,7 @@ +GRUB_TIMEOUT=5 +GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" +GRUB_DEFAULT=1 +GRUB_DISABLE_SUBMENU=false +GRUB_TERMINAL_OUTPUT="console" +GRUB_CMDLINE_LINUX="isolcpus=6,7 selinux=0 audit=0" +GRUB_DISABLE_RECOVERY=true diff --git a/contrib/liveusb/etc/hostname b/contrib/liveusb/etc/hostname new file mode 100644 index 000000000..da598be9b --- /dev/null +++ b/contrib/liveusb/etc/hostname @@ -0,0 +1 @@ +unknown-s2ss diff --git a/contrib/liveusb/etc/hosts b/contrib/liveusb/etc/hosts new file mode 100644 index 000000000..05fc89de2 --- /dev/null +++ b/contrib/liveusb/etc/hosts @@ -0,0 +1,10 @@ +127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 +::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 + +# Orchestrator + +# ACS hosts +134.130.169.31 acs-s2ss +134.130.169.32 acs-gtfpga +137.226.160.69 acs-opal +137.226.160.115 acs-workstation diff --git a/contrib/liveusb/dhclient.service b/contrib/liveusb/etc/systemd/system/dhclient.service similarity index 100% rename from contrib/liveusb/dhclient.service rename to contrib/liveusb/etc/systemd/system/dhclient.service diff --git a/contrib/liveusb/setup.service b/contrib/liveusb/etc/systemd/system/setup.service similarity index 100% rename from contrib/liveusb/setup.service rename to contrib/liveusb/etc/systemd/system/setup.service diff --git a/contrib/liveusb/etc/tuned/active_profile b/contrib/liveusb/etc/tuned/active_profile new file mode 100644 index 000000000..239b12e08 --- /dev/null +++ b/contrib/liveusb/etc/tuned/active_profile @@ -0,0 +1 @@ +latency-performance