Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sysadm-provisioning
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Platform
Infrastructure
sysadm-provisioning
Commits
d8b0bcdb
Commit
d8b0bcdb
authored
7 years ago
by
Nicolas Dandrimont
Browse files
Options
Downloads
Patches
Plain Diff
Update preseeding for stretch
Related to T761
parent
6d78b5c5
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
finish.sh
+0
-15
0 additions, 15 deletions
finish.sh
generate_preseed.py
+1
-1
1 addition, 1 deletion
generate_preseed.py
preseed.cfg.tpl
+1
-1
1 addition, 1 deletion
preseed.cfg.tpl
with
2 additions
and
17 deletions
finish.sh
+
0
−
15
View file @
d8b0bcdb
...
@@ -2,26 +2,11 @@
...
@@ -2,26 +2,11 @@
set
-e
set
-e
cat
>
/etc/apt/sources.list.d/backports.list
<<
EOF
# This file is managed by Puppet. DO NOT EDIT.
# backports
deb http://deb.debian.org/debian/ jessie-backports main
EOF
cat
>
/etc/apt/preferences.d/puppet.pref
<<
EOF
# This file is managed by Puppet. DO NOT EDIT.
Explanation: Pin puppet dependencies to backports
Package: facter hiera puppet puppet-common puppetmaster puppetmaster-common puppetmaster-passenger ruby-deep-merge
Pin: release n=jessie-backports
Pin-Priority: 990
EOF
apt-get update
apt-get update
apt-get
-o
Dpkg::Options::
=
"--force-confdef"
-o
Dpkg::Options::
=
"--force-confold"
-y
dist-upgrade
apt-get
-o
Dpkg::Options::
=
"--force-confdef"
-o
Dpkg::Options::
=
"--force-confold"
-y
dist-upgrade
augtool
<<
"
EOF
"
augtool
<<
"
EOF
"
set /files/etc/puppet/puppet.conf/main/pluginsync true
set /files/etc/puppet/puppet.conf/main/server pergamon.internal.softwareheritage.org
set /files/etc/puppet/puppet.conf/main/server pergamon.internal.softwareheritage.org
save
save
EOF
EOF
...
...
This diff is collapsed.
Click to expand it.
generate_preseed.py
+
1
−
1
View file @
d8b0bcdb
...
@@ -22,7 +22,7 @@ QM_CREATE_CMD = (
...
@@ -22,7 +22,7 @@ QM_CREATE_CMD = (
"
-sockets {sockets}
"
"
-sockets {sockets}
"
"
-startup {startup}
"
"
-startup {startup}
"
"
{disks}
"
"
{disks}
"
"
-args
'
-kernel /tmp/linux -initrd /tmp/initrd_{vmid}.gz
'"
"
-args
'
-kernel /tmp/linux -initrd /tmp/initrd_{vmid}.gz
-append net.ifnames=0
'"
)
)
CPIO_CMDS
=
"
cd /tmp; cp preseed_{hostname}.cfg preseed.cfg; (cat initrd.gz; echo preseed.cfg | cpio -Hnewc --quiet -o | gzip -c) > initrd_{vmid}.gz
"
CPIO_CMDS
=
"
cd /tmp; cp preseed_{hostname}.cfg preseed.cfg; (cat initrd.gz; echo preseed.cfg | cpio -Hnewc --quiet -o | gzip -c) > initrd_{vmid}.gz
"
...
...
This diff is collapsed.
Click to expand it.
preseed.cfg.tpl
+
1
−
1
View file @
d8b0bcdb
...
@@ -160,7 +160,7 @@ d-i partman-auto/init_automatically_partition select biggest_free
...
@@ -160,7 +160,7 @@ d-i partman-auto/init_automatically_partition select biggest_free
# name must be given in traditional, non-devfs format (so e.g. /dev/sda
# name must be given in traditional, non-devfs format (so e.g. /dev/sda
# and not e.g. /dev/discs/disc0/disc).
# and not e.g. /dev/discs/disc0/disc).
# For example, to use the first SCSI/SATA hard disk:
# For example, to use the first SCSI/SATA hard disk:
d-i partman-auto/disk string /dev/
s
da
d-i partman-auto/disk string /dev/
v
da
# In addition, you'll need to specify the method to use.
# In addition, you'll need to specify the method to use.
# The presently available methods are:
# The presently available methods are:
# - regular: use the usual partition types for your architecture
# - regular: use the usual partition types for your architecture
...
...
This diff is collapsed.
Click to expand it.
Phabricator Migration user
@phabricator-migration
·
7 years ago
Owner
Some references in the commit message have been migrated:
T761 is now infra/sysadm-environment#761
Some references in the commit message have been migrated: * T761 is now infra/sysadm-environment#761
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment