Compare commits
3 Commits
fa4d38c477
...
30bad95316
| Author | SHA1 | Date | |
|---|---|---|---|
| 30bad95316 | |||
| 35b6e1ee1a | |||
| 929c51f594 |
@@ -28,7 +28,7 @@ if not 'DAVTOKEN_USER' in environ:
|
||||
sys.exit(1)
|
||||
|
||||
options = {
|
||||
'webdav_hostname': "https://nextcloud.obel1x.de/remote.php/dav/files/unbrot",
|
||||
'webdav_hostname': "https://nextcloud.obel1x.de/remote.php/dav/files/" + environ['DAVTOKEN_USER'],
|
||||
'webdav_login': environ['DAVTOKEN_USER'],
|
||||
'webdav_password': environ['DAVTOKEN_PASS']
|
||||
}
|
||||
|
||||
@@ -82,8 +82,6 @@ nss-pam-ldapd
|
||||
# System authorization information
|
||||
authselect enable-feature with-fingerprint
|
||||
|
||||
# Run the Setup Agent on first boot
|
||||
firstboot --enable
|
||||
|
||||
# Generated using Blivet version 3.12.1
|
||||
ignoredisk --only-use=sda
|
||||
@@ -95,6 +93,10 @@ autopart --type=btrfs
|
||||
# Root password
|
||||
# This Password is completely unknown to anyone. After installation, the PC should be Member of Domain and the users may use sudo to become superuser.
|
||||
rootpw --iscrypted $y$j9T$jpKVkxaFqL6GH6GAgB0Yb/$oc.rfZgnHNlTAIj/boJeI.ZFf1QHvMF7fymZww9bzE3
|
||||
#user --name=none
|
||||
|
||||
# Do not run the Setup Agent on first boot because it will complain about missing user account which we dont want
|
||||
firstboot --disable
|
||||
|
||||
%post --log=/root/ks-post.log
|
||||
mkdir /opt/sys_config
|
||||
|
||||
@@ -17,6 +17,13 @@ if [ "$EUID" -eq 0 ]; then
|
||||
echo "Press any key to continue" && read -n 1 -s -r && exit 1
|
||||
fi
|
||||
|
||||
#Check for needed python-modules
|
||||
python -c "import webdav3">/dev/null 2>&1
|
||||
if [[ $? -ne 0 ]]; then
|
||||
echo "Installing pip module webdav3"
|
||||
pip install webdavclient3>/dev/null
|
||||
fi
|
||||
|
||||
#TODO C: Check if Desktop is KDE/Plasma and support other Displays
|
||||
# Make kdesu use sudo
|
||||
kwriteconfig5 --file kdesurc --group super-user-command --key super-user-command sudo
|
||||
|
||||
@@ -131,6 +131,9 @@ install_sw()
|
||||
|
||||
#Set openh264 enabled
|
||||
dnf config-manager setopt fedora-cisco-openh264.enabled=1
|
||||
|
||||
# Set default runlevel to graphical logon
|
||||
systemctl set-default graphical.target
|
||||
}
|
||||
|
||||
ipa_register_host()
|
||||
|
||||
Reference in New Issue
Block a user