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)
|
sys.exit(1)
|
||||||
|
|
||||||
options = {
|
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_login': environ['DAVTOKEN_USER'],
|
||||||
'webdav_password': environ['DAVTOKEN_PASS']
|
'webdav_password': environ['DAVTOKEN_PASS']
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -82,8 +82,6 @@ nss-pam-ldapd
|
|||||||
# System authorization information
|
# System authorization information
|
||||||
authselect enable-feature with-fingerprint
|
authselect enable-feature with-fingerprint
|
||||||
|
|
||||||
# Run the Setup Agent on first boot
|
|
||||||
firstboot --enable
|
|
||||||
|
|
||||||
# Generated using Blivet version 3.12.1
|
# Generated using Blivet version 3.12.1
|
||||||
ignoredisk --only-use=sda
|
ignoredisk --only-use=sda
|
||||||
@@ -95,6 +93,10 @@ autopart --type=btrfs
|
|||||||
# Root password
|
# 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.
|
# 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
|
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
|
%post --log=/root/ks-post.log
|
||||||
mkdir /opt/sys_config
|
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
|
echo "Press any key to continue" && read -n 1 -s -r && exit 1
|
||||||
fi
|
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
|
#TODO C: Check if Desktop is KDE/Plasma and support other Displays
|
||||||
# Make kdesu use sudo
|
# Make kdesu use sudo
|
||||||
kwriteconfig5 --file kdesurc --group super-user-command --key super-user-command sudo
|
kwriteconfig5 --file kdesurc --group super-user-command --key super-user-command sudo
|
||||||
|
|||||||
@@ -131,6 +131,9 @@ install_sw()
|
|||||||
|
|
||||||
#Set openh264 enabled
|
#Set openh264 enabled
|
||||||
dnf config-manager setopt fedora-cisco-openh264.enabled=1
|
dnf config-manager setopt fedora-cisco-openh264.enabled=1
|
||||||
|
|
||||||
|
# Set default runlevel to graphical logon
|
||||||
|
systemctl set-default graphical.target
|
||||||
}
|
}
|
||||||
|
|
||||||
ipa_register_host()
|
ipa_register_host()
|
||||||
|
|||||||
Reference in New Issue
Block a user