Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
autoradio
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
ale
autoradio
Commits
a05a2173
Commit
a05a2173
authored
10 years ago
by
ale
Browse files
Options
Downloads
Patches
Plain Diff
change test domain
parent
ab4e1ab7
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vagrant-test/Vagrantfile
+5
-6
5 additions, 6 deletions
vagrant-test/Vagrantfile
with
5 additions
and
6 deletions
vagrant-test/Vagrantfile
+
5
−
6
View file @
a05a2173
API_VERSION
=
"2"
# Note: we shouldn't need to create a host entry for 'etcd', but
# 'test.net' is a real domain with a catch-all...
# Note: we shouldn't need to create a host entry for 'etcd'...
$setup_host_file
=
<<
SCRIPT
cat >/etc/hosts <<EOF
127.0.0.1 localhost
192.168.50.2 node1.
test.net etcd.test.net
node1
192.168.50.3 node2.
test.net
node2
192.168.50.4 node3.
test.net
node3
192.168.50.2 node1.
autora.dio etcd.autora.dio
node1
192.168.50.3 node2.
autora.dio
node2
192.168.50.4 node3.
autora.dio
node3
EOF
SCRIPT
...
...
@@ -20,7 +19,7 @@ Vagrant.configure(API_VERSION) do |config|
config
.
vm
.
provision
"shell"
do
|
s
|
s
.
path
=
"bootstrap.sh"
s
.
args
=
"
test.net
"
s
.
args
=
"
autora.dio
"
end
config
.
vm
.
define
"node1"
do
|
m
|
...
...
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