mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-26 22:16:11 +00:00
Add tasksel package including
This commit is contained in:
@@ -38,6 +38,7 @@ sudo sh -c "$(wget -O - https://github.com/brentybh/debian-netboot/raw/master/ne
|
||||
- `--mask <NETMASK>` Netmask for manual network configuration
|
||||
- `--gate <GATEWAY>` Gateway for manual network configuration
|
||||
- `--dns <DNS>` Domain Name Server for manual network configuration
|
||||
- `--incl <INCLUDE>` Include individual additional packages to install
|
||||
|
||||
### Chinese Special
|
||||
|
||||
|
||||
+11
@@ -87,6 +87,10 @@ while [ $# -gt 0 ]; do
|
||||
DNS=$2
|
||||
shift
|
||||
;;
|
||||
--incl|--include)
|
||||
INCLUDE=$2
|
||||
shift
|
||||
;;
|
||||
*)
|
||||
echo "Illegal option $1"
|
||||
exit 1
|
||||
@@ -239,6 +243,13 @@ d-i apt-setup/local0/source boolean true
|
||||
# 9. Package selection: TASKS, UPGRADE
|
||||
|
||||
tasksel tasksel/first multiselect ssh-server
|
||||
EOF
|
||||
|
||||
if [ -n "$INCLUDE" ]; then
|
||||
echo "d-i pkgsel/include string $INCLUDE" >> preseed.cfg
|
||||
fi
|
||||
|
||||
cat >> preseed.cfg << EOF
|
||||
d-i pkgsel/upgrade select {{-UPGRADE-}}
|
||||
popularity-contest popularity-contest/participate boolean false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user