Smoke test: Update user for XenServer template
diff --git a/test/integration/smoke/test_network.py b/test/integration/smoke/test_network.py
index b3e7fd3..2648fb9 100644
--- a/test/integration/smoke/test_network.py
+++ b/test/integration/smoke/test_network.py
@@ -2153,7 +2153,10 @@
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"