Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Arnaud Véron
slapos.package
Commits
61ee7af3
Commit
61ee7af3
authored
Oct 25, 2019
by
Thomas Gambier
🚴🏼
Committed by
Thomas Gambier
Nov 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update debian 10 image
parent
faf836ff
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
35 additions
and
27 deletions
+35
-27
packer/debian10.json
packer/debian10.json
+4
-4
packer/debian9-rs-base.json
packer/debian9-rs-base.json
+1
-1
packer/debian9.json
packer/debian9.json
+1
-1
packer/http/preseed-debian10.cfg
packer/http/preseed-debian10.cfg
+26
-19
packer/scripts/network-debian.sh
packer/scripts/network-debian.sh
+3
-2
No files found.
packer/debian10.json
View file @
61ee7af3
...
@@ -32,13 +32,14 @@
...
@@ -32,13 +32,14 @@
"headless"
:
true
,
"headless"
:
true
,
"boot_wait"
:
"2s"
,
"boot_wait"
:
"2s"
,
"boot_command"
:
[
"boot_command"
:
[
"<esc><wait>"
,
"<esc><wait>
<wait><wait><wait>
"
,
"auto preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian10.cfg "
,
"auto preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-debian10.cfg "
,
"debian-installer=en_US.UTF-8 locale=en_US keymap=fr"
,
"debian-installer=en_US.UTF-8 locale=en_US keymap=fr
"
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_hostname={{ .Name }} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"netcfg/get_domain={{ user `domain`}} "
,
"fb=false debconf/frontend=noninteractive "
,
"fb=false debconf/frontend=noninteractive "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-fullname={{user `user`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
"passwd/user-password-again={{user `password`}} "
,
...
@@ -47,7 +48,6 @@
...
@@ -47,7 +48,6 @@
"<enter>"
"<enter>"
]
]
}
}
],
],
"provisioners"
:
[
"provisioners"
:
[
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
"scripts"
:
[
"scripts"
:
[
"scripts/update.sh"
,
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/packages.sh"
,
"scripts/network-debian
9
.sh"
,
"scripts/network-debian.sh"
,
"scripts/cleanup.sh"
,
"scripts/cleanup.sh"
,
"{{ user `custom_script` }}"
"{{ user `custom_script` }}"
]
]
...
...
packer/debian9-rs-base.json
View file @
61ee7af3
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
"scripts"
:
[
"scripts"
:
[
"scripts/update.sh"
,
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/packages.sh"
,
"scripts/network-debian
9
.sh"
,
"scripts/network-debian.sh"
,
"scripts/cleanup.sh"
,
"scripts/cleanup.sh"
,
"scripts/setup-base-slapos.sh"
,
"scripts/setup-base-slapos.sh"
,
"{{ user `custom_script` }}"
"{{ user `custom_script` }}"
...
...
packer/debian9.json
View file @
61ee7af3
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
"scripts"
:
[
"scripts"
:
[
"scripts/update.sh"
,
"scripts/update.sh"
,
"scripts/packages.sh"
,
"scripts/packages.sh"
,
"scripts/network-debian
9
.sh"
,
"scripts/network-debian.sh"
,
"scripts/cleanup.sh"
,
"scripts/cleanup.sh"
,
"{{ user `custom_script` }}"
"{{ user `custom_script` }}"
]
]
...
...
packer/http/preseed-debian10.cfg
View file @
61ee7af3
d-i debian-installer/locale string en_US
d-i debian-installer/locale string en_US
d-i keyboard-configuration/xkb-keymap select fr
d-i keyboard-configuration/xkb-keymap select fr
d-i
clock-setup/ntp boolean true
d-i
time/zone string Europe/Paris
d-i clock-setup/utc boolean true
d-i clock-setup/utc boolean true
d-i time/zone string CET
d-i apt-setup/enable-source-repositories string false
d-i finish-install/reboot_in_progress note
#d-i apt-setup/use_mirror boolean true
d-i grub-installer/only_debian boolean true
d-i auto-install/enable string true
d-i grub-installer/with_other_os boolean true
d-i base-installer/install-recommends string false
d-i grub-installer/bootdev string
#d-i debconf/priority string critical
d-i grub-installer/choose_bootdev select /dev/vda
d-i finish-install/reboot_in_progress string note
d-i netcfg/choose_interface select auto
d-i netcfg/wireless_wep string
d-i mirror/country string manual
d-i mirror/country string manual
d-i mirror/http/hostname string ftp.fr.debian.org
d-i mirror/http/directory string /debian
d-i mirror/http/directory string /debian
d-i mirror/http/hostname string http.us.debian.org
d-i mirror/http/proxy string
d-i mirror/http/proxy string
d-i netcfg/choose_interface select auto
d-i netcfg/wireless_wep string
d-i partman-auto/choose_recipe select atomic
d-i partman-auto/choose_recipe select atomic
d-i partman-auto/method string regular
d-i partman-auto/method string regular
d-i partman/choose_partition select finish
d-i partman/choose_partition select finish
...
@@ -21,14 +21,21 @@ d-i partman/confirm boolean true
...
@@ -21,14 +21,21 @@ d-i partman/confirm boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm_nooverwrite boolean true
d-i partman/confirm_write_new_label boolean true
d-i partman/confirm_write_new_label boolean true
d-i partman/default_filesystem string ext4
d-i partman/default_filesystem string ext4
d-i passwd/root-login boolean false
d-i passwd/make-user string false
d-i pkgsel/include string openssh-server
d-i passwd/root-login string false
d-i pkgsel/upgrade select full-upgrade
choose-mirror-bin mirror/http/proxy string
d-i apt-setup/use_mirror boolean true
d-i pkgsel/include string sudo aptitude openssh-server wget vim
### Package selection
apt-cdrom-setup apt-setup/cdrom/set-first boolean false
apt-mirror-setup apt-setup/use_mirror boolean true
popularity-contest popularity-contest/participate boolean false
tasksel tasksel/first multiselect standard, ssh-server
tasksel tasksel/first multiselect standard, ssh-server
# Individual additional packages to install
# all the packages below are installed through tasksel "standard"
#d-i pkgsel/include string ssh aptitude bwm-ng ca-certificates dbus-user-session debian-goodies dnsutils eatmydata efibootmgr gdb git gnupg host htop iotop linux-cpupower linux-perf lm-sensors lsof man-db ndisc6 netcat-openbsd openssh-server python resolvconf rsync screen smartmontools socat strace sudo systemd-coredump vim wget
### Boot loader installation
# This is fairly safe to set, it makes grub install automatically to the MBR
# if no other operating system is detected on the machine.
d-i grub-installer/only_debian boolean true
# To install to the first device (assuming it is not a USB stick):
d-i grub-installer/bootdev string default
packer/scripts/network-debian
9
.sh
→
packer/scripts/network-debian.sh
View file @
61ee7af3
...
@@ -3,8 +3,9 @@
...
@@ -3,8 +3,9 @@
# provide ifconfig command
# provide ifconfig command
apt-get
install
-y
net-tools
apt-get
install
-y
net-tools
# change default interface name to eth0 schema
# Starting from Debian9 primary interface is not named eth0 anymore
# enable memory hotplug auto configuration
# so change default interface name to eth0 schema.
# Also, enable memory hotplug auto configuration
sed
-i
's#GRUB_CMDLINE_LINUX=.*#GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0 memhp_default_state=online"#'
/etc/default/grub
sed
-i
's#GRUB_CMDLINE_LINUX=.*#GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0 memhp_default_state=online"#'
/etc/default/grub
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment