diff --git a/test/integration/smoke/test_network.py b/test/integration/smoke/test_network.py index b3e7fd3e42f..2648fb95a46 100644 --- a/test/integration/smoke/test_network.py +++ b/test/integration/smoke/test_network.py @@ -2153,7 +2153,10 @@ class TestSharedNetworkWithConfigDrive(cloudstackTestCase): cls.services["virtual_machine"]["zoneid"] = cls.zone.id cls.services["virtual_machine"]["template"] = template.id - cls.services["virtual_machine"]["username"] = "ubuntu" + if cls.hv.lower() == 'xenserver': + cls.services["virtual_machine"]["username"] = "root" + else: + cls.services["virtual_machine"]["username"] = "ubuntu" # Create Network Offering cls.services["shared_network_offering_configdrive"]["specifyVlan"] = "True" cls.services["shared_network_offering_configdrive"]["specifyIpRanges"] = "True"