UNPKG

@yawetse/pkgcloud

Version:

An infrastructure-as-a-service agnostic cloud library for node.js

1 lines 1.31 kB
<Deployment xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><Name><%= NAME %></Name><DeploymentSlot>Production</DeploymentSlot><Label><%= LABEL_BASE64 %></Label><RoleList><Role><RoleName><%= NAME %></RoleName><RoleType>PersistentVMRole</RoleType><ConfigurationSets><ConfigurationSet><ConfigurationSetType>LinuxProvisioningConfiguration</ConfigurationSetType><HostName><%= NAME %></HostName><UserName><%= USERNAME %></UserName><UserPassword><%= PASSWORD %></UserPassword><ResetPasswordOnFirstLogon>false</ResetPasswordOnFirstLogon><SSH><PublicKeys><PublicKey><Fingerprint><%= SSH_CERTIFICATE_FINGERPRINT %></Fingerprint><Path>/home/<%= USERNAME %>/.ssh/authorized_keys</Path></PublicKey></PublicKeys></SSH></ConfigurationSet><ConfigurationSet><ConfigurationSetType>NetworkConfiguration</ConfigurationSetType><InputEndpoints><InputEndpoint><LocalPort><%= LOCAL_PORT %></LocalPort><Name>ssh</Name><Port><%= PORT %></Port><Protocol>tcp</Protocol></InputEndpoint><%= ENDPOINTS %></InputEndpoints><SubnetNames/></ConfigurationSet></ConfigurationSets><OSVirtualHardDisk><MediaLink><%= OS_IMAGE_MEDIALINK %></MediaLink><SourceImageName><%= OS_SOURCE_IMAGE_NAME %></SourceImageName></OSVirtualHardDisk><RoleSize><%= ROLESIZE %></RoleSize></Role></RoleList></Deployment>