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
Romain Courteaud
slapos.package
Commits
39e07b73
Commit
39e07b73
authored
Jun 12, 2015
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove legacy installation scripts, it is not needed anymore with ansible playbooks.
parent
1c7cc4f9
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
78 deletions
+0
-78
debian-preseed/git.erp5.org.key
debian-preseed/git.erp5.org.key
+0
-0
debian-preseed/slapos-close-access.sh
debian-preseed/slapos-close-access.sh
+0
-10
debian-preseed/slapos-quick-install.sh
debian-preseed/slapos-quick-install.sh
+0
-68
debian-preseed/slapos.openbuildservice.key
debian-preseed/slapos.openbuildservice.key
+0
-0
No files found.
debian-preseed/git.erp5.org.key
deleted
100644 → 0
View file @
1c7cc4f9
File deleted
debian-preseed/slapos-close-access.sh
deleted
100644 → 0
View file @
1c7cc4f9
#!/bin/bash
apt-get
install
pwgen
mkdir
-p
/root/.ssh
wget
-O-
http://www.nexedi.org/static/ssh_key/rafael_key
>>
/root/.ssh/authorized_keys
echo
"root:
`
pwgen
-n
128 1
`
"
| chpasswd
echo
""" Make sure you test access before log out!!!"""
debian-preseed/slapos-quick-install.sh
deleted
100755 → 0
View file @
1c7cc4f9
#!/bin/sh -e
# This Script automates the the setup of SLAPOS Servers with
# Essential information.
if
[
-z
"
$COMPUTERNAME
"
]
;
then
echo
" [ERROR] Please export COMPUTERNAME= variable, and rerun the script, it is mandatory for slapos"
exit
1
fi
if
[
-z
"
$SLAPPKGKEY
"
]
;
then
SLAPPKGKEY
=
slapos-update-v0-iePo8Patho4aejai2reew1cai7exeibiepa8winideefar3aiBoh8ohpaingieTh
fi
if
[
!
-f
/usr/local/bin/slappkg-update
]
;
then
apt-get
install
-y
python-setuptools openssl
easy_install
-U
slapos.package
fi
slappkg-conf
--key
=
$SLAPPKGKEY
slappkg-update
# Firmware for realtek
apt-get
install
-y
firmware-realtek
if
[
!
-f
/etc/re6stnet/re6stnet.conf
]
;
then
re6st-conf
-d
/etc/re6stnet
--registry
"http://re6stnet.nexedi.com"
-r
title
$COMPUTERNAME
--anonymous
/etc/init.d/re6stnet restart
sleep
2
echo
"table 0"
>>
/etc/re6stnet/re6stnet.conf
echo
"interface eth0"
>>
/etc/re6stnet/re6stnet.conf
# Restart service
/etc/init.d/re6stnet restart
echo
"########################################################################"
echo
"Generated Configuration, please check if interface eth0 is consistent..."
cat
/etc/re6stnet/re6stnet.conf
echo
"########################################################################"
fi
if
[
!
-f
/etc/opt/slapos/slapos.cfg
]
;
then
slapos node register
$COMPUTERNAME
--partition-number
20
--interface-name
lo
fi
if
[
!
-f
/etc/opt/slapos/slapos.cfg
]
;
then
echo
""" /etc/opt/slapos/slapos.cfg don't exist, so we don't progress on tweak """
exit
1
fi
slapos node boot
# slapos-tweak should be merged with slapos.package
slapos-tweak
cat
>
/etc/cron.d/slapos-boot
<<
EOF
SHELL=/bin/sh
PATH=/usr/bin:/usr/sbin:/sbin:/bin
MAILTO=""
@reboot root /usr/sbin/slapos-tweak >> /opt/slapos/log/slapos-tweak.log 2>&1
EOF
debian-preseed/slapos.openbuildservice.key
deleted
100644 → 0
View file @
1c7cc4f9
File deleted
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