Compare commits
2
Commits
ad7b7077bb
...
484fdcf94d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
484fdcf94d | ||
|
|
919deeb191 |
No files matched your search
@@ -0,0 +1,51 @@
|
|||||||
|
## Added
|
||||||
|
d-i debian-installer/language string en
|
||||||
|
d-i debian-installer/country string US
|
||||||
|
d-i debian-installer/locale string en_US.UTF-8
|
||||||
|
d-i localechooser/shortlist select US
|
||||||
|
d-i localechooser/preferred-locale select en_US.UTF-8
|
||||||
|
d-i localechooser/languagelist select en
|
||||||
|
d-i keyboard-configuration/xkb-keymap select us
|
||||||
|
|
||||||
|
# %Loading additional Components%
|
||||||
|
|
||||||
|
d-i netcfg/choose_interface select auto
|
||||||
|
# To pick a particular interface instead:
|
||||||
|
#d-i netcfg/choose_interface select eth1
|
||||||
|
# TODO: Setup WPA
|
||||||
|
d-i netcfg/get_hostname string lindsay
|
||||||
|
d-i netcfg/get_domain string hacdc.org
|
||||||
|
d-i netcfg/wireless_wep string
|
||||||
|
|
||||||
|
d-i mirror/country string manual
|
||||||
|
d-i mirror/http/hostname string http.kali.org
|
||||||
|
d-i mirror/http/directory string /kali
|
||||||
|
d-i mirror/http/proxy string
|
||||||
|
|
||||||
|
d-i passwd/user-fullname string hacdc
|
||||||
|
d-i passwd/username string hacdc
|
||||||
|
d-i passwd/user-password password HDCPW
|
||||||
|
d-i passwd/user-password-again password HDCPW
|
||||||
|
|
||||||
|
d-i clock-setup/utc boolean true
|
||||||
|
d-i time/zone string US/Eastern
|
||||||
|
d-i clock-setup/ntp boolean true
|
||||||
|
|
||||||
|
d-i partman-auto/method string lvm
|
||||||
|
d-i partman-auto-lvm/guided_size string max
|
||||||
|
d-i partman-auto/choose_recipe select atomic
|
||||||
|
d-i partman-partitioning/confirm_write_new_label boolean true
|
||||||
|
cryptsetup-nuke-password cryptsetup-nuke-password/password HDCPW
|
||||||
|
cryptsetup-nuke-password cryptsetup-nuke-password/password-again HDCPW
|
||||||
|
d-i partman/choose_partition select finish
|
||||||
|
d-i partman/confirm boolean true
|
||||||
|
d-i partman/confirm_nooverwrite boolean true
|
||||||
|
d-i partman-md/confirm boolean true
|
||||||
|
|
||||||
|
tasksel tasksel/first multiselect standard,core,desktop-xfce,meta-default
|
||||||
|
|
||||||
|
d-i grub-installer/only_debian boolean true
|
||||||
|
d-i grub-installer/with_other_os boolean true
|
||||||
|
d-i grub-installer/bootdev string /dev/sda
|
||||||
|
|
||||||
|
d-i finish-install/reboot_in_progress note
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
cd "$(dirname "$0")"
|
||||||
|
read -p "HacDC Password: " HCD_PASSWORD
|
||||||
|
cp blank_preseed.cfg preseed.cfg
|
||||||
|
sed -i "s/HDCPW/$HCD_PASSWORD/g" preseed.cfg
|
||||||
|
python3 -m http.server 1337
|
||||||
+4
-1
@@ -39,7 +39,7 @@ usermod -aG classroom hacdc
|
|||||||
useradd -m -s /usr/bin/zsh -G dialout,cdrom,floppy,audio,video,wireshark,classroom guest
|
useradd -m -s /usr/bin/zsh -G dialout,cdrom,floppy,audio,video,wireshark,classroom guest
|
||||||
cp /home/hacdc/.zshrc /home/guest/.zshrc
|
cp /home/hacdc/.zshrc /home/guest/.zshrc
|
||||||
chown guest:guest /home/guest/.zshrc
|
chown guest:guest /home/guest/.zshrc
|
||||||
|
# TODO: SET GUEST PW
|
||||||
sudo -u hacdc curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash
|
sudo -u hacdc curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.8/install.sh | bash
|
||||||
sudo -u hacdc curl -fsSL https://pyenv.run | bash
|
sudo -u hacdc curl -fsSL https://pyenv.run | bash
|
||||||
|
|
||||||
@@ -81,9 +81,12 @@ fi
|
|||||||
# Set login wallpaper
|
# Set login wallpaper
|
||||||
cp ${HDOS_ROOT}/dotfiles/htown.png /usr/share/backgrounds/htown.png
|
cp ${HDOS_ROOT}/dotfiles/htown.png /usr/share/backgrounds/htown.png
|
||||||
chmod 755 /usr/share/backgrounds/htown.png
|
chmod 755 /usr/share/backgrounds/htown.png
|
||||||
|
# TODO: Change this to lightdm
|
||||||
sed -i 's/^background=.*$/background=\/usr\/share\/backgrounds\/htown.png/' /usr/share/sddm/themes/*/theme.conf.user
|
sed -i 's/^background=.*$/background=\/usr\/share\/backgrounds\/htown.png/' /usr/share/sddm/themes/*/theme.conf.user
|
||||||
rm /usr/share/backgrounds/kali-16x9/default
|
rm /usr/share/backgrounds/kali-16x9/default
|
||||||
ln -s /usr/share/backgrounds/htown.png /usr/share/backgrounds/kali-16x9/default
|
ln -s /usr/share/backgrounds/htown.png /usr/share/backgrounds/kali-16x9/default
|
||||||
|
# Didn't change it for hacdc login
|
||||||
|
# worked for guest
|
||||||
|
|
||||||
mksquashfs /home/guest ${HDOS_ROOT}/guest.sqfs
|
mksquashfs /home/guest ${HDOS_ROOT}/guest.sqfs
|
||||||
cp ${HDOS_ROOT}/scripts/restore-home /usr/sbin/restore-home
|
cp ${HDOS_ROOT}/scripts/restore-home /usr/sbin/restore-home
|
||||||
|
|||||||
Reference in new issue
Block a user