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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Nicolas Wavrant
slapos.package
Commits
cc5f27fa
Commit
cc5f27fa
authored
Dec 04, 2013
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[slapos-quick-install] Minor workarround for re6st and better verbose
parent
eaf67b2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
3 deletions
+11
-3
debian-preseed/slapos-quick-install.sh
debian-preseed/slapos-quick-install.sh
+11
-3
No files found.
debian-preseed/slapos-quick-install.sh
View file @
cc5f27fa
#
!/bin/sh -e
!
/bin/sh
-e
# This Script automates the the setup of SLAPOS Servers with
# This Script automates the the setup of SLAPOS Servers with
# Essential information.
# Essential information.
...
@@ -35,6 +35,12 @@ if [ ! -f /etc/re6stnet/re6stnet.conf ]; then
...
@@ -35,6 +35,12 @@ if [ ! -f /etc/re6stnet/re6stnet.conf ]; then
# Register re6stnet.
# Register re6stnet.
re6st-conf
--registry
http://re6stnet.nexedi.com/
-r
title
$COMPUTERNAME
-d
/etc/re6stnet
--anonymous
re6st-conf
--registry
http://re6stnet.nexedi.com/
-r
title
$COMPUTERNAME
-d
/etc/re6stnet
--anonymous
# For some reason this initial restart still needed
# for workarround eventual default routes.
/etc/init.d/re6stnet restart
sleep
2
echo
"table 0"
>>
/etc/re6stnet/re6stnet.conf
echo
"table 0"
>>
/etc/re6stnet/re6stnet.conf
echo
"interface eth0"
>>
/etc/re6stnet/re6stnet.conf
echo
"interface eth0"
>>
/etc/re6stnet/re6stnet.conf
...
@@ -72,7 +78,9 @@ if [ ! -f /etc/opt/slapos/slapos.cfg ]; then
...
@@ -72,7 +78,9 @@ if [ ! -f /etc/opt/slapos/slapos.cfg ]; then
fi
fi
cat
>
/usr/local/sbin/slapos-tweak
<<
EOF
cat
>
/usr/local/sbin/slapos-tweak
<<
EOF
#!/bin/sh -e
#!/bin/bash
set -e
mkdir -v -p -m 0755 `grep ^certificate_repository_path /etc/opt/slapos/slapos.cfg | sed 's/^certificate_repository_path.*= *//'`
mkdir -v -p -m 0755 `grep ^certificate_repository_path /etc/opt/slapos/slapos.cfg | sed 's/^certificate_repository_path.*= *//'`
...
@@ -125,7 +133,7 @@ modprobe f71882fg > /dev/null 2>&1
...
@@ -125,7 +133,7 @@ modprobe f71882fg > /dev/null 2>&1
# Activate KSM (shared memory for KVM)
# Activate KSM (shared memory for KVM)
echo 1 > /sys/kernel/mm/ksm/run
echo 1 > /sys/kernel/mm/ksm/run
slapos format --now
slapos
node
format --now
EOF
EOF
...
...
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