fixin post-install
This commit is contained in:
@@ -126,13 +126,12 @@ function displaylink_driver() {
|
|||||||
echo displaylink_driver >>/tmp/installer
|
echo displaylink_driver >>/tmp/installer
|
||||||
}
|
}
|
||||||
|
|
||||||
function main() {
|
function zscaler() {
|
||||||
desktop || true
|
apt install /home/${TARGET_USER}/zscaler-client_3.7.1.71-1_amd64.deb -y
|
||||||
docker || true
|
echo zscaler >>/tmp/installer
|
||||||
intune || true
|
}
|
||||||
nix_home_manager || true
|
|
||||||
displaylink_driver || true
|
|
||||||
|
|
||||||
|
function dash_to_panel() {
|
||||||
# ─── DASH TO PANEL ───────────────────────────────────────────────────────────
|
# ─── DASH TO PANEL ───────────────────────────────────────────────────────────
|
||||||
info "Installing Dash to Panel..."
|
info "Installing Dash to Panel..."
|
||||||
sudo -u "$TARGET_USER" bash -c '
|
sudo -u "$TARGET_USER" bash -c '
|
||||||
@@ -143,6 +142,17 @@ function main() {
|
|||||||
'
|
'
|
||||||
|
|
||||||
dconf update
|
dconf update
|
||||||
|
echo dash_to_panel >>/tmp/installer
|
||||||
|
}
|
||||||
|
|
||||||
|
function main() {
|
||||||
|
desktop || true
|
||||||
|
docker || true
|
||||||
|
intune || true
|
||||||
|
nix_home_manager || true
|
||||||
|
displaylink_driver || true
|
||||||
|
zscaler || true
|
||||||
|
dash_to_panel || true
|
||||||
|
|
||||||
# ─── SSH ─────────────────────────────────────────────────────────────────────
|
# ─── SSH ─────────────────────────────────────────────────────────────────────
|
||||||
info "Enabling SSH..."
|
info "Enabling SSH..."
|
||||||
@@ -157,6 +167,6 @@ function main() {
|
|||||||
systemctl start gdm
|
systemctl start gdm
|
||||||
}
|
}
|
||||||
|
|
||||||
if [[ "$1" = "main" ]]; then
|
if [[ "${1:-NOPE}" = "main" ]]; then
|
||||||
main
|
main
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -178,6 +178,7 @@ autoinstall:
|
|||||||
- bash -x /cdrom/nocloud/wifi.sh
|
- bash -x /cdrom/nocloud/wifi.sh
|
||||||
- mkdir -p /target/home/${TARGET_USER}/nocloud
|
- mkdir -p /target/home/${TARGET_USER}/nocloud
|
||||||
- cp /cdrom/nocloud/* /target/home/${TARGET_USER}/nocloud/
|
- cp /cdrom/nocloud/* /target/home/${TARGET_USER}/nocloud/
|
||||||
|
- chown ${TARGET_USER}:${TARGET_USER} -R /target/home/${TARGET_USER}/nocloud/
|
||||||
|
|
||||||
updates: all
|
updates: all
|
||||||
shutdown: poweroff
|
shutdown: poweroff
|
||||||
|
|||||||
Reference in New Issue
Block a user