Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
# PowerCLI Scripts
## Provisioning
### [**New-UbuntuVM.ps1**][1]
Run this script to clone a new Ubuntu VM from a template. This script requires a user
account to have passwordless sudo for a few commands on the template. Please ensure
the below line exists in your template's `/etc/sudoers` file before using this script.
```bash
USERNAME_HERE ALL = NOPASSWD: /usr/bin/tee, /bin/systemctl restart networking.service, /usr/bin/apt-get
```
---
[1]: New-UbuntuVM.ps1 "Deploy Ubuntu VM from Template"