summaryrefslogtreecommitdiffstats
path: root/satellit_installer/static_files/system/etc
diff options
context:
space:
mode:
Diffstat (limited to 'satellit_installer/static_files/system/etc')
-rw-r--r--satellit_installer/static_files/system/etc/sudoers.d/openslx-overrides1
-rw-r--r--satellit_installer/static_files/system/etc/systemd/system/firstboot.service7
-rw-r--r--satellit_installer/static_files/system/etc/tmate.conf5
-rw-r--r--satellit_installer/static_files/system/etc/vim/vimrc.local7
4 files changed, 17 insertions, 3 deletions
diff --git a/satellit_installer/static_files/system/etc/sudoers.d/openslx-overrides b/satellit_installer/static_files/system/etc/sudoers.d/openslx-overrides
new file mode 100644
index 0000000..6123bfd
--- /dev/null
+++ b/satellit_installer/static_files/system/etc/sudoers.d/openslx-overrides
@@ -0,0 +1 @@
+openslx ALL=(root) NOPASSWD: /usr/local/bin/netsetup
diff --git a/satellit_installer/static_files/system/etc/systemd/system/firstboot.service b/satellit_installer/static_files/system/etc/systemd/system/firstboot.service
index a21ad61..f19b51a 100644
--- a/satellit_installer/static_files/system/etc/systemd/system/firstboot.service
+++ b/satellit_installer/static_files/system/etc/systemd/system/firstboot.service
@@ -1,11 +1,12 @@
[Unit]
Description=Initialization of bwLehrpool on first boot
-ConditionFileIsExecutable=/root/installer/rclocal_script.sh
-After=network.target mysql.service
+ConditionFileIsExecutable=/opt/openslx/firstboot.sh
+After=network.target mysql.service mariadb.service
+Before=ssh.service lighttpd.service dmsd.service taskmanager.service
[Service]
Type=oneshot
-ExecStart=/root/installer/rclocal_script.sh
+ExecStart=/opt/openslx/firstboot.sh
RemainAfterExit=yes
RefuseManualStart=yes
diff --git a/satellit_installer/static_files/system/etc/tmate.conf b/satellit_installer/static_files/system/etc/tmate.conf
new file mode 100644
index 0000000..537f52c
--- /dev/null
+++ b/satellit_installer/static_files/system/etc/tmate.conf
@@ -0,0 +1,5 @@
+set -g tmate-server-host "tmate.ruf.uni-freiburg.de"
+set -g tmate-server-port 2222
+set -g tmate-server-rsa-fingerprint SHA256:pyT0YTJ+2c6AHD4QtUC1GEA9SFFYba74x2T1VZJ6zpc
+set -g tmate-server-ed25519-fingerprint SHA256:ZuTqO8YZrdgzjskHhfNd65es4HEx5rKBRZj/e/iBLrg
+set -g tmate-identity ""
diff --git a/satellit_installer/static_files/system/etc/vim/vimrc.local b/satellit_installer/static_files/system/etc/vim/vimrc.local
new file mode 100644
index 0000000..8e09d96
--- /dev/null
+++ b/satellit_installer/static_files/system/etc/vim/vimrc.local
@@ -0,0 +1,7 @@
+syntax on
+set showmatch
+set smartcase
+set incsearch
+set mouse=
+set autoindent
+set smartindent