guestC.getCustomizationScript(),
"#!/bin/bash if [ \"$1\" = \"postcustomization\" ]; then echo \"post customization\" touch /root/.postcustomization sleep 30 #regenerate keys /bin/rm /etc/ssh/ssh_host_* /usr/sbin/dpkg-reconfigure openssh-server echo \"completed\" fi");
assertEquals(guestC.getComputerName(), "Ubuntu1004");
assertEquals(guestC.getEdit(), null);
VCloudNetworkSection network = result.getNetworkSection();
assertEquals(
network.getHref(),
URI
.create("https://vcenterprise.bluelock.com/api/v1.0/vAppTemplate/vappTemplate-1201908921/networkSection/"));
assertEquals(network.getType(), VCloudMediaType.NETWORKSECTION_XML);
assertEquals(network.getInfo(), "The list of logical networks");
assertEquals(network.getNetworks(), ImmutableSet.of(new Network("vAppNet-vApp Internal", null)));
}