forked from mattbator/stageworkshop
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some small changes in the location of files
- Loading branch information
1 parent
309a28a
commit c007ddb
Showing
15 changed files
with
116 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,3 +10,5 @@ logs/ | |
master.zip | ||
original.release.json | ||
stageworkshop-master/ | ||
venv/ | ||
.idea/ |
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
####################################################################################################### | ||
# EULA acceptance | ||
####################################################################################################### | ||
curl ${CURL_POST_OPTS} --user ${PRISM_ADMIN}:${PE_PASSWORD} -X POST --data '{ | ||
"username": "SE with $(basename ${0})", | ||
"companyName": "Nutanix", | ||
"jobTitle": "SE" | ||
}' https://localhost:9440/PrismGateway/services/rest/v1/eulas/accept | ||
|
||
|
||
####################################################################################################### | ||
# Disable Pulse | ||
####################################################################################################### | ||
curl ${CURL_POST_OPTS} --user ${PRISM_ADMIN}:${PE_PASSWORD} -X PUT --data '{ | ||
"defaultNutanixEmail": null, | ||
"emailContactList": null, | ||
"enable": false, | ||
"enableDefaultNutanixEmail": false, | ||
"isPulsePromptNeeded": false, | ||
"nosVersion": null, | ||
"remindLater": null, | ||
"verbosityType": null | ||
}' https://localhost:9440/PrismGateway/services/rest/v1/pulse | ||
|
||
|
||
|
||
|
||
####################################################################################################### | ||
# Set Dataservices - PE | ||
####################################################################################################### | ||
|
||
|
||
|
||
####################################################################################################### | ||
# Set NTP servers - PE | ||
####################################################################################################### | ||
|
||
|
||
|
||
####################################################################################################### | ||
# Rename the default storage pool to SP01 | ||
####################################################################################################### | ||
|
||
|
||
|
||
####################################################################################################### | ||
# Create a Storage Container Images if not exist | ||
####################################################################################################### | ||
|
||
|
||
|
||
####################################################################################################### | ||
# Create two networks (Primary and Secondary) | ||
####################################################################################################### | ||
curl -X POST \ | ||
https://10.42.9.37:9440/api/nutanix/v0.8/networks \ | ||
-H 'Content-Type: application/json' \ | ||
-H 'Postman-Token: 836ee60b-0398-456b-967b-7221c3355545' \ | ||
-H 'cache-control: no-cache' \ | ||
-d '{"name":"VLAN30","vlanId":"30","ipConfig":{"dhcpOptions":{"domainNameServers":"8.8.8.8","domainSearch":"ntx-demo.local","domainName":"ntnx-demo.local"},"networkAddress":"10.10.30.0","prefixLength":"24","defaultGateway":"10.10.30.254","pool":[{"range":"10.10.30.100 10.10.30.200"}]}} | ||
' | ||
|
||
|
||
####################################################################################################### | ||
# Upload the right AutoDC version | ||
####################################################################################################### | ||
|
||
|
||
|
||
####################################################################################################### | ||
# Install, Configure and start the AutoDC | ||
####################################################################################################### | ||
|
||
|
||
|
||
####################################################################################################### | ||
# Configure the AutoDC's DNS server | ||
####################################################################################################### | ||
|
||
|
||
|
||
####################################################################################################### | ||
# Authentication PE to the installed DC | ||
####################################################################################################### | ||
|
||
|
||
|
||
####################################################################################################### | ||
# Create role mapping | ||
####################################################################################################### | ||
|
||
|
||
|
||
####################################################################################################### | ||
# Upload PC files to be used - PE | ||
####################################################################################################### | ||
|
||
|
||
|
||
####################################################################################################### | ||
# Deploy PC | ||
####################################################################################################### | ||
|
||
|
||
|
||
####################################################################################################### | ||
# Register PE to PC | ||
####################################################################################################### | ||
|
||
|
||
|
||
####################################################################################################### | ||
# Upload Nutanix Files files | ||
####################################################################################################### |