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
Ayush Tiwari
slapos.package
Commits
a660fbca
Commit
a660fbca
authored
Feb 23, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove preseed configuration
parent
90e709db
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
392 deletions
+0
-392
debian-preseed/README.txt
debian-preseed/README.txt
+0
-12
debian-preseed/build.sh
debian-preseed/build.sh
+0
-36
debian-preseed/preseed.cfg
debian-preseed/preseed.cfg
+0
-344
No files found.
debian-preseed/README.txt
deleted
100644 → 0
View file @
90e709db
Debian Automation
#################
Those scripts are pure experimentation currently. The script was design to
work on debian 7 only. Don't work on somewhere else:
To install slapos
curl URL_TO_SCRIPT/slapos-quick-install.sh | EMAIL=YYYY COMPUTERNAME=XXXX sh -
The preseed script will be used only to quickly automate debian installation. So,
it should not automatically install slapos for the moment.
debian-preseed/build.sh
deleted
100644 → 0
View file @
90e709db
#!/bin/bash
DEBIANVERSION
=
7.4.0
ISONAME
=
debian-
$DEBIANVERSION
-amd64-netinst
.iso
set
-e
if
[
!
-f
$ISONAME
]
;
then
wget http://cdimage.debian.org/debian-cd/
$DEBIANVERSION
/amd64/iso-cd/
$ISONAME
fi
mkdir
-p
loopdir
mount
-o
loop
$ISONAME
loopdir
#rm -rf cd
#mkdir cd
rsync
-a
-H
--exclude
=
TRANS.TBL loopdir/
cd
umount loopdir
mkdir
irmod
cd
irmod
# This path to install.amd can variate
INITRD_PATH
=
../cd/install.amd/initrd.gz
gzip
-d
<
$INITRD_PATH
| cpio
--extract
--verbose
--make-directories
--no-absolute-filenames
cp
../preseed.cfg preseed.cfg
find
.
| cpio
-H
newc
--create
--verbose
|
gzip
-9
>
$INITRD_PATH
cd
../
rm
-fr
irmod/
cd cd
md5sum
`
find
-follow
-type
f
`
>
md5sum.txt
cd
..
rm
-rf
$ISONAME
.patched
genisoimage
-o
$ISONAME
.patched
-r
-J
-no-emul-boot
-boot-load-size
4
-boot-info-table
-b
isolinux/isolinux.bin
-c
isolinux/boot.cat ./cd
isohybrid
$ISONAME
.patched
debian-preseed/preseed.cfg
deleted
100644 → 0
View file @
90e709db
This diff is collapsed.
Click to expand it.
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