Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compose.libre.sh
Manage
Activity
Members
Labels
Plan
Issues
18
Issue boards
Milestones
Wiki
Code
Merge requests
3
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
libre.sh
compose.libre.sh
Commits
7c0bfb40
Commit
7c0bfb40
authored
10 years ago
by
Pierre Ozoux
Browse files
Options
Downloads
Patches
Plain Diff
Moves and updates cloud-config
parent
6d84d66f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Vagrantfile
+1
-1
1 addition, 1 deletion
Vagrantfile
cloud-config
+2
-2
2 additions, 2 deletions
cloud-config
with
3 additions
and
3 deletions
Vagrantfile
+
1
−
1
View file @
7c0bfb40
...
@@ -43,7 +43,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
...
@@ -43,7 +43,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
core
.
hostsupdater
.
aliases
=
[
"example.dev"
]
core
.
hostsupdater
.
aliases
=
[
"example.dev"
]
core
.
vm
.
network
:private_network
,
ip:
"
#{
BASE_IP_ADDR
}
.
#{
i
+
1
}
"
core
.
vm
.
network
:private_network
,
ip:
"
#{
BASE_IP_ADDR
}
.
#{
i
+
1
}
"
core
.
vm
.
synced_folder
"."
,
"/data/infrastructure"
,
id:
"coreos-infrastructure"
,
:nfs
=>
true
,
:mount_options
=>
[
'nolock,vers=3,udp'
]
core
.
vm
.
synced_folder
"."
,
"/data/infrastructure"
,
id:
"coreos-infrastructure"
,
:nfs
=>
true
,
:mount_options
=>
[
'nolock,vers=3,udp'
]
core
.
vm
.
provision
:file
,
source:
"./c
onfig/user-data
"
,
destination:
"/tmp/vagrantfile-user-data"
core
.
vm
.
provision
:file
,
source:
"./c
loud-config
"
,
destination:
"/tmp/vagrantfile-user-data"
core
.
vm
.
provision
:shell
,
path:
"./scripts/setup.sh"
core
.
vm
.
provision
:shell
,
path:
"./scripts/setup.sh"
core
.
vm
.
provision
:shell
,
inline:
"etcdctl set /services/default '{
\"
app
\"
:
\"
nginx
\"
,
\"
hostname
\"
:
\"
#{
HOSTNAME
}
\"
}'"
core
.
vm
.
provision
:shell
,
inline:
"etcdctl set /services/default '{
\"
app
\"
:
\"
nginx
\"
,
\"
hostname
\"
:
\"
#{
HOSTNAME
}
\"
}'"
core
.
vm
.
provision
:shell
,
path:
"./scripts/approve-user.sh"
,
args:
[
HOSTNAME
,
"nginx"
]
core
.
vm
.
provision
:shell
,
path:
"./scripts/approve-user.sh"
,
args:
[
HOSTNAME
,
"nginx"
]
...
...
This diff is collapsed.
Click to expand it.
c
onfig/user-data
→
c
loud-config
+
2
−
2
View file @
7c0bfb40
...
@@ -4,8 +4,8 @@ coreos:
...
@@ -4,8 +4,8 @@ coreos:
update:
update:
reboot-strategy: best-effort
reboot-strategy: best-effort
etcd:
etcd:
addr:
$public_ipv4
:4001
addr:
172.17.42.1
:4001
peer-addr:
$public_ipv4
:7001
peer-addr:
172.17.42.1
:7001
units:
units:
- name: etcd.service
- name: etcd.service
command: start
command: start
This diff is collapsed.
Click to expand it.
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