powershell - How do I use a Reserved IP address with Virtual Machines for ubuntu -


how use reserved ip address virtual machines ubuntu?

so far i'm using following syntax.but couldn't make it.

new-azurevmconfig -name "ubuntu" -instancesize small -imagename "ubuntu*"| add-azureprovisioningconfig -ubuntu -adminusername "ubuntu" -password "dangerrrrs09"| new-azurevm -servicename "newubuntu" -reservedipname "myreservedip" -location "south central us" 

you need either 1) create reserved ip address before use in new-azurevm or 2) convert existing vip reserved ip address.

the syntax above new-azurevm looks correct, specification of -imagename incorrect in new-azurevmconfig. might @ blog post idea of how recent image - post windows can trivially changed ubuntu.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -