Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
J
Jupyter Docker Stacks
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
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
nanahira
Jupyter Docker Stacks
Commits
ba6086c1
Commit
ba6086c1
authored
Dec 22, 2015
by
Peter Parente
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix SoftLayer CPUs and DNS
(c) Copyright IBM Corp. 2015
parent
9f8af4fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
examples/make-deploy/softlayer.makefile
examples/make-deploy/softlayer.makefile
+4
-5
No files found.
examples/make-deploy/softlayer.makefile
View file @
ba6086c1
# Copyright (c) Jupyter Development Team.
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
# Distributed under the terms of the Modified BSD License.
softlayer-vm: export SOFTLAYER_CPU
S
?=4
softlayer-vm: export SOFTLAYER_CPU?=4
softlayer-vm: export SOFTLAYER_DISK_SIZE?=100
softlayer-vm: export SOFTLAYER_DISK_SIZE?=100
softlayer-vm: export SOFTLAYER_MEMORY?=4096
softlayer-vm: export SOFTLAYER_MEMORY?=4096
softlayer-vm: export SOFTLAYER_REGION?=wdc01
softlayer-vm: export SOFTLAYER_REGION?=wdc01
...
@@ -17,11 +17,10 @@ softlayer-vm: check
...
@@ -17,11 +17,10 @@ softlayer-vm: check
@docker-machine create -d softlayer $(NAME)
@docker-machine create -d softlayer $(NAME)
@echo "DONE: Docker host '$(NAME)' up at $$(docker-machine ip $(NAME))"
@echo "DONE: Docker host '$(NAME)' up at $$(docker-machine ip $(NAME))"
softlayer-dns: HOST_NAME:=$$(docker-machine ip $$(docker-machine active))
softlayer-dns: HOST_NAME:=$$(docker-machine active)
softlayer-dns: IP:=$$(docker-machine ip $(HOST_NAME))
softlayer-dns: check
softlayer-dns: check
@which slcli > /dev/null || (echo "softlayer cli not found (pip install softlayer)"; exit 1)
@which slcli > /dev/null || (echo "softlayer cli not found (pip install softlayer)"; exit 1)
@test -n "$(NAME)" || \
(echo "ERROR: NAME not defined (make help)"; exit 1)
@test -n "$(SOFTLAYER_DOMAIN)" || \
@test -n "$(SOFTLAYER_DOMAIN)" || \
(echo "ERROR: SOFTLAYER_DOMAIN not defined (make help)"; exit 1)
(echo "ERROR: SOFTLAYER_DOMAIN not defined (make help)"; exit 1)
@slcli dns record-add $(SOFTLAYER_DOMAIN) $(HOST_NAME) A $(
HOST_NAME
)
@slcli dns record-add $(SOFTLAYER_DOMAIN) $(HOST_NAME) A $(
IP
)
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