Add Readme, cleanup gnome packages, add wifi credentials

This commit is contained in:
Thomas Cole 2021-07-13 09:20:02 -04:00
parent 60ec8716da
commit 87cc52e8a3
4 changed files with 45 additions and 1 deletions

38
README.md Normal file
View File

@ -0,0 +1,38 @@
# CLC Debian
A preseed file and simple server to configure a Debian 10 installation.
## Usage/Examples
1. Copy the passwd cfg file to .passwd.cfg.
```bash
cp passwd.cfg .passwd.cfg
```
2. Edit the .passwd.cfg file with crypt(3) hashes for the root and user passwords
EX.
```bash
mkpasswd NotARealPassword
#OUTPUT
12E0SEasyb0vk
#.passwd.cfg
roothash=12E0SEasyb0vk
userhash=12E0SEasyb0vk
```
3. Run the preseedserver.sh file
This requires root to put the python http server on port 80
```bash
sudo ./preseedserver.sh
```
4. Run the Debian installer on your target system and point the auto installer to http://YOURSERVERIP/preseed.cfg

View File

@ -11,7 +11,7 @@ doasuser () {
echo "Cleaning up default Gnome Install." echo "Cleaning up default Gnome Install."
#clean up gnome things #clean up gnome things
apt purge -y gnome-games xterm apt purge -y gnome-games xterm gnome-documents gnome-todo gnome-music gnome-maps rhythmbox totem
apt autoremove -y apt autoremove -y
echo "Installing base applications." echo "Installing base applications."

View File

@ -30,6 +30,11 @@ d-i netcfg/wireless_wep string
# change to false to disable asking. # change to false to disable asking.
d-i hw-detect/load_firmware boolean true d-i hw-detect/load_firmware boolean true
### Wifi settings
d-i netcfg/wireless_essid CLC-Guest
d-i netcfg/wireless_security_type wpa
d-i netcfg/wireless_wpa OneChurch!
### Mirror settings ### Mirror settings
# If you select ftp, the mirror/country string does not need to be set. # If you select ftp, the mirror/country string does not need to be set.
#d-i mirror/protocol string ftp #d-i mirror/protocol string ftp

View File

@ -1,3 +1,4 @@
#EXAMPLE PASSWD config file #EXAMPLE PASSWD config file
#rename to .passwd.cfg and add a crypt(3) hash password
rootpassword=notarealpassword rootpassword=notarealpassword
userpasswort=12345 userpasswort=12345