Sorry, Tim, this thread slipped through the cracks.
If you look at
savecfgCode:
sudo medit /usr/local/bin/savecfg
you will see the script just copies some of your configuration files to a
preseed directory so when there is a hard disk install or a persistence file re-build those configuration files 'pre-seed' the new setup.
Your network configuration files are located at
/etc/NetworkManager/system-connections Code:
[email protected]:/etc/NetworkManager/system-connections$ ls -lisa
total 16
50331922 4 drwxr-xr-x 2 root root 4096 Feb 5 17:18 .
50331654 4 drwxr-xr-x 6 root root 4096 Oct 17 06:52 ..
50334899 4 -rw------- 1 root root 242 Feb 5 17:18 BigPond8S58
50334696 4 -rw------- 1 root root 283 Jan 31 23:21 New 802-11-wireless connection
Your keyboard configuration is located at
/home/$USER/.config/lxkeymap.cfgThe trick is to include that information in the
savecfg file that mimics.
Code:
# comports
cp -v "/etc/comports*.conf" "$preseed/"
# gpsd
cp -v "/etc/default/gpsd" "$preseed/gpsd"
Insert after line 22, but before line 60, something like
Code:
# NetworkManager connections
cp -v "/etc/NetworkManager/system-connections/*" "$preseed/NetworkManager/"
# keyboard layout
cp -v "/home/nx/.config/lxkeymap.cfg" "$preseed/"
I'm still not sure about the path following the
$preseeding argument, or if an addition needs to be made to the
/preseed/config.txt file. I'm just not familiar enough with the process. Maybe someone else knows, but I'll look into it.