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
Rafael Monnerat
slapos.package
Commits
2cf33da9
Commit
2cf33da9
authored
Oct 31, 2022
by
Thomas Gambier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
packer: all ubuntu preseed files are the same
So keep everything in the same file
parent
8f974b4c
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
42 deletions
+15
-42
packer/http/preseed-ubuntu.cfg
packer/http/preseed-ubuntu.cfg
+12
-0
packer/http/preseed-ubuntu16.04.cfg
packer/http/preseed-ubuntu16.04.cfg
+0
-13
packer/http/preseed-ubuntu18.04.cfg
packer/http/preseed-ubuntu18.04.cfg
+0
-13
packer/http/preseed-ubuntu20.04.cfg
packer/http/preseed-ubuntu20.04.cfg
+0
-13
packer/ubuntu-16.04-server-amd64.json
packer/ubuntu-16.04-server-amd64.json
+1
-1
packer/ubuntu-18.04-server-amd64.json
packer/ubuntu-18.04-server-amd64.json
+1
-1
packer/ubuntu-20.04-server-amd64.json
packer/ubuntu-20.04-server-amd64.json
+1
-1
No files found.
packer/http/preseed-ubuntu.cfg
View file @
2cf33da9
...
@@ -25,3 +25,15 @@ d-i time/zone string CET
...
@@ -25,3 +25,15 @@ d-i time/zone string CET
d-i user-setup/allow-password-weak boolean true
d-i user-setup/allow-password-weak boolean true
d-i user-setup/encrypt-home boolean false
d-i user-setup/encrypt-home boolean false
tasksel tasksel/first multiselect standard, ubuntu-server
tasksel tasksel/first multiselect standard, ubuntu-server
d-i preseed/early_command string \
mkdir -p /usr/lib/post-base-installer.d && \
echo "sed -i -e 's/^in-target.*tasksel.*/#\\0/' /var/lib/dpkg/info/pkgsel.postinst" > /usr/lib/post-base-installer.d/90skip-tasksel && \
chmod +x /usr/lib/post-base-installer.d/90skip-tasksel
d-i preseed/late_command string \
echo 'Defaults:slapos !requiretty' > /target/etc/sudoers.d/slapos; \
echo 'slapos ALL=(ALL) NOPASSWD: ALL' >> /target/etc/sudoers.d/slapos; \
chmod 440 /target/etc/sudoers.d/slapos ; \
ln -sf /dev/null /target/etc/systemd/network/99-default.link; \
in-target update-initramfs -u
packer/http/preseed-ubuntu16.04.cfg
deleted
100644 → 0
View file @
8f974b4c
d-i preseed/include string ../preseed-ubuntu.cfg
d-i preseed/early_command string \
mkdir -p /usr/lib/post-base-installer.d && \
echo "sed -i -e 's/^in-target.*tasksel.*/#\\0/' /var/lib/dpkg/info/pkgsel.postinst" > /usr/lib/post-base-installer.d/90skip-tasksel && \
chmod +x /usr/lib/post-base-installer.d/90skip-tasksel
d-i preseed/late_command string \
echo 'Defaults:slapos !requiretty' > /target/etc/sudoers.d/slapos; \
echo 'slapos ALL=(ALL) NOPASSWD: ALL' >> /target/etc/sudoers.d/slapos; \
chmod 440 /target/etc/sudoers.d/slapos ; \
ln -sf /dev/null /target/etc/systemd/network/99-default.link; \
in-target update-initramfs -u
packer/http/preseed-ubuntu18.04.cfg
deleted
100644 → 0
View file @
8f974b4c
d-i preseed/include string ../preseed-ubuntu.cfg
d-i preseed/early_command string \
mkdir -p /usr/lib/post-base-installer.d && \
echo "sed -i -e 's/^in-target.*tasksel.*/#\\0/' /var/lib/dpkg/info/pkgsel.postinst" > /usr/lib/post-base-installer.d/90skip-tasksel && \
chmod +x /usr/lib/post-base-installer.d/90skip-tasksel
d-i preseed/late_command string \
echo 'Defaults:slapos !requiretty' > /target/etc/sudoers.d/slapos; \
echo 'slapos ALL=(ALL) NOPASSWD: ALL' >> /target/etc/sudoers.d/slapos; \
chmod 440 /target/etc/sudoers.d/slapos ; \
ln -sf /dev/null /target/etc/systemd/network/99-default.link; \
in-target update-initramfs -u
packer/http/preseed-ubuntu20.04.cfg
deleted
100644 → 0
View file @
8f974b4c
d-i preseed/include string ../preseed-ubuntu.cfg
d-i preseed/early_command string \
mkdir -p /usr/lib/post-base-installer.d && \
echo "sed -i -e 's/^in-target.*tasksel.*/#\\0/' /var/lib/dpkg/info/pkgsel.postinst" > /usr/lib/post-base-installer.d/90skip-tasksel && \
chmod +x /usr/lib/post-base-installer.d/90skip-tasksel
d-i preseed/late_command string \
echo 'Defaults:slapos !requiretty' > /target/etc/sudoers.d/slapos; \
echo 'slapos ALL=(ALL) NOPASSWD: ALL' >> /target/etc/sudoers.d/slapos; \
chmod 440 /target/etc/sudoers.d/slapos ; \
ln -sf /dev/null /target/etc/systemd/network/99-default.link; \
in-target update-initramfs -u
packer/ubuntu-16.04-server-amd64.json
View file @
2cf33da9
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
"passwd/user-password={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"passwd/username={{user `user`}} "
,
"noapic "
,
"noapic "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu
16.04
.cfg "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu.cfg "
,
"<enter>"
"<enter>"
],
],
"boot_wait"
:
"3s"
,
"boot_wait"
:
"3s"
,
...
...
packer/ubuntu-18.04-server-amd64.json
View file @
2cf33da9
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
"passwd/user-password={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"passwd/username={{user `user`}} "
,
"noapic "
,
"noapic "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu
18.04
.cfg "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu.cfg "
,
"-- <enter>"
"-- <enter>"
],
],
"boot_wait"
:
"2s"
,
"boot_wait"
:
"2s"
,
...
...
packer/ubuntu-20.04-server-amd64.json
View file @
2cf33da9
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
"passwd/user-password={{user `password`}} "
,
"passwd/user-password={{user `password`}} "
,
"passwd/username={{user `user`}} "
,
"passwd/username={{user `user`}} "
,
"noapic "
,
"noapic "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu
20.04
.cfg "
,
"preseed/url=http://{{ .HTTPIP }}:{{ .HTTPPort }}/preseed-ubuntu.cfg "
,
"-- <enter>"
"-- <enter>"
],
],
"boot_wait"
:
"2s"
,
"boot_wait"
:
"2s"
,
...
...
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