Merge pull request #7539 from hashicorp/reverse_winrm_admonishment
warn users to lock down winrm after provisioning
This commit is contained in:
commit
b1ffc1c814
|
@ -166,6 +166,9 @@ setting a valid `account_file` and `project_id`:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
-> **Warning:** Please note that if you're setting up WinRM for provisioning, you'll probably want to turn it off or restrict its permissions as part of a shutdown script at the end of Packer's provisioning process. For more details on the why/how, check out this useful blog post and the associated code:
|
||||||
|
https://cloudywindows.io/post/winrm-for-provisioning---close-the-door-on-the-way-out-eh/
|
||||||
|
|
||||||
This build can take up to 15 min.
|
This build can take up to 15 min.
|
||||||
|
|
||||||
### Nested Hypervisor Example
|
### Nested Hypervisor Example
|
||||||
|
|
|
@ -876,6 +876,9 @@ Finish proxy after sysprep -->
|
||||||
</unattend>
|
</unattend>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
-> **Warning:** Please note that if you're setting up WinRM for provisioning, you'll probably want to turn it off or restrict its permissions as part of a shutdown script at the end of Packer's provisioning process. For more details on the why/how, check out this useful blog post and the associated code:
|
||||||
|
https://cloudywindows.io/post/winrm-for-provisioning---close-the-door-on-the-way-out-eh/
|
||||||
|
|
||||||
## Example For Ubuntu Vivid Generation 2
|
## Example For Ubuntu Vivid Generation 2
|
||||||
|
|
||||||
If you are running Windows under virtualization, you may need to create a
|
If you are running Windows under virtualization, you may need to create a
|
||||||
|
|
|
@ -893,6 +893,9 @@ Finish proxy after sysprep -->
|
||||||
</unattend>
|
</unattend>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
-> **Warning:** Please note that if you're setting up WinRM for provisioning, you'll probably want to turn it off or restrict its permissions as part of a shutdown script at the end of Packer's provisioning process. For more details on the why/how, check out this useful blog post and the associated code:
|
||||||
|
https://cloudywindows.io/post/winrm-for-provisioning---close-the-door-on-the-way-out-eh/
|
||||||
|
|
||||||
## Example For Ubuntu Vivid Generation 2
|
## Example For Ubuntu Vivid Generation 2
|
||||||
|
|
||||||
If you are running Windows under virtualization, you may need to create a
|
If you are running Windows under virtualization, you may need to create a
|
||||||
|
|
|
@ -90,6 +90,9 @@ Here is a basic example for windows server.
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-> **Warning:** Please note that if you're setting up WinRM for provisioning, you'll probably want to turn it off or restrict its permissions as part of a shutdown script at the end of Packer's provisioning process. For more details on the why/how, check out this useful blog post and the associated code:
|
||||||
|
https://cloudywindows.io/post/winrm-for-provisioning---close-the-door-on-the-way-out-eh/
|
||||||
|
|
||||||
Here is a basic example for linux server.
|
Here is a basic example for linux server.
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
|
@ -322,6 +322,9 @@ Platform:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
-> **Warning:** Please note that if you're setting up WinRM for provisioning, you'll probably want to turn it off or restrict its permissions as part of a shutdown script at the end of Packer's provisioning process. For more details on the why/how, check out this useful blog post and the associated code:
|
||||||
|
https://cloudywindows.io/post/winrm-for-provisioning---close-the-door-on-the-way-out-eh/
|
||||||
|
|
||||||
### Post i/o timeout errors
|
### Post i/o timeout errors
|
||||||
|
|
||||||
If you see
|
If you see
|
||||||
|
|
|
@ -404,6 +404,9 @@ Start-Service -Name WinRM
|
||||||
</powershell>
|
</powershell>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
-> **Warning:** Please note that if you're setting up WinRM for provisioning, you'll probably want to turn it off or restrict its permissions as part of a shutdown script at the end of Packer's provisioning process. For more details on the why/how, check out this useful blog post and the associated code:
|
||||||
|
https://cloudywindows.io/post/winrm-for-provisioning---close-the-door-on-the-way-out-eh/
|
||||||
|
|
||||||
Save the above code in a file named `bootstrap_win.txt`.
|
Save the above code in a file named `bootstrap_win.txt`.
|
||||||
|
|
||||||
-> **A quick aside/warning:**<br />
|
-> **A quick aside/warning:**<br />
|
||||||
|
|
Loading…
Reference in New Issue