Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Bob Tanner
packer-windows
Commits
c5ca715a
Unverified
Commit
c5ca715a
authored
Jan 21, 2017
by
Stefan Scherer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add resource group and storage account
Signed-off-by:
Stefan Scherer
<
scherer_stefan@icloud.com
>
parent
d026e2ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
AZURE.md
AZURE.md
+14
-2
No files found.
AZURE.md
View file @
c5ca715a
...
...
@@ -93,6 +93,18 @@ data: MicrosoftWindowsServer WindowsServer 2016-Nano-Server
**TODO**
Describe how to create the resource group and storage account needed by packer build. I've used an existing resource group and storage account.
## Create Resource Group
```
azure group create myaccount westeurope
```
## Create a storage account
```
azure storage account create --sku-name LRS --location westeurope --kind BlobStorage --access-tier Cool --resource-group myaccount myaccount
```
## Store secrets in pass
I use
`pass`
for my secrets.
...
...
@@ -103,8 +115,8 @@ export PACKER_AZURE_SUBSCRIPTION_ID=xxx
export PACKER_AZURE_OBJECT_ID=xxx
export PACKER_AZURE_APP_ID=xxx
export PACKER_AZURE_CLIENT_SECRET='xxx'
export PACKER_AZURE_RESOURCE_GROUP=
vagrantboxes
export PACKER_AZURE_STORAGE_ACCOUNT=
vagrantboxes
export PACKER_AZURE_RESOURCE_GROUP=
myaccount
export PACKER_AZURE_STORAGE_ACCOUNT=
myaccount
```
## Build
...
...
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