Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.playbook
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
slapos.playbook
Commits
0e3c5ace
Commit
0e3c5ace
authored
Apr 29, 2015
by
Rafael Monnerat
👻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure backports are available to debian7
parent
49eb9bab
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
install.template
install.template
+1
-1
install/base-setup
install/base-setup
+6
-1
install/devbook
install/devbook
+2
-2
No files found.
install.template
View file @
0e3c5ace
...
@@ -5,7 +5,7 @@ PLAYBOOK_FILE={{ playbook_yml }}
...
@@ -5,7 +5,7 @@ PLAYBOOK_FILE={{ playbook_yml }}
#### Setup Ansible and load few libraries #####
#### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5
=
836e9256decdf8e2cd49d388fa7851ab
BASE_SETUP_SCRIPT_MD5
=
dd8a4d4f8dbb2becc16e814f65ed6df5
wget
--no-check-certificate
https://deploy.nexedi.cn/base-setup
-O
/tmp/base-setup
wget
--no-check-certificate
https://deploy.nexedi.cn/base-setup
-O
/tmp/base-setup
...
...
install/base-setup
View file @
0e3c5ace
...
@@ -30,13 +30,18 @@ GetDistro
...
@@ -30,13 +30,18 @@ GetDistro
# Warn users who aren't on an explicitly supported distro, but allow them to
# Warn users who aren't on an explicitly supported distro, but allow them to
# override check and attempt installation with ``export FORCE=yes``
# override check and attempt installation with ``export FORCE=yes``
if
[[
!
${
DISTRO
}
=
~
(
wheezy|trusty|rhel7
)
]]
;
then
if
[[
!
${
DISTRO
}
=
~
(
wheezy|
jessie|
trusty|rhel7
)
]]
;
then
echo
"WARNING: this script has not been tested on
$DISTRO
"
echo
"WARNING: this script has not been tested on
$DISTRO
"
if
[[
"
$FORCE
"
!=
"yes"
]]
;
then
if
[[
"
$FORCE
"
!=
"yes"
]]
;
then
die
$LINENO
"If you wish to run this script anyway run with FORCE=yes"
die
$LINENO
"If you wish to run this script anyway run with FORCE=yes"
fi
fi
fi
fi
# Make sure wheezy backports are available.
if
[[
$DISTRO
==
"wheezy"
]]
;
then
echo
"deb http://ftp.debian.org/debian wheezy-backports main contrib "
>
/etc/apt/sources.list.d/wheezy-backports
fi
if
is_fedora
&&
[[
$DISTRO
==
"rhel7"
]]
;
then
if
is_fedora
&&
[[
$DISTRO
==
"rhel7"
]]
;
then
# RHEL requires EPEL for many Open Stack dependencies
# RHEL requires EPEL for many Open Stack dependencies
...
...
install/devbook
View file @
0e3c5ace
#!/bin/bash
#!/bin/bash
PLAYBOOK_REPOSITORY_URL
=
https://lab.nexedi.cn/rafael/slapos.playbook
PLAYBOOK_REPOSITORY_URL
=
https://lab.nexedi.cn/rafael/slapos.playbook
.git
#### Setup Ansible and load few libraries #####
#### Setup Ansible and load few libraries #####
BASE_SETUP_SCRIPT_MD5
=
836e9256decdf8e2cd49d388fa7851ab
BASE_SETUP_SCRIPT_MD5
=
dd8a4d4f8dbb2becc16e814f65ed6df5
wget
--no-check-certificate
https://deploy.nexedi.cn/base-setup
-O
/tmp/base-setup
wget
--no-check-certificate
https://deploy.nexedi.cn/base-setup
-O
/tmp/base-setup
...
...
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