fix(e2e): ENI reconcile test SSHes as ubuntu to match stock AMI default

PR #411 (cloud-init EC2 datasource) dropped the cloud-init ISO that
created the ec2-user account and baked the harness SSH key; guests now
boot the stock Ubuntu gold AMI (default user ubuntu) bootstrapped via the
Ec2/IMDS datasource. eni_reconcile_test.go was the lone single-suite test
still SSHing as ec2-user, so TestENIHotplugReconcile failed publickey at
the first SSH. Align it with every other single-suite test.
This commit is contained in:
joshsiv-mulga
2026-06-25 15:37:11 +10:00
parent 82e443f305
commit 3046240915
+1 -1
View File
@@ -41,7 +41,7 @@ func runENIHotplugReconcile(t *testing.T, fix *Fixture) {
host, port := harness.InstancePublicSSHHost(t, inst)
waitForSSHReady(t, host, port, keyPath)
tgt := harness.SSHTarget{User: "ec2-user", Host: host, Port: port, KeyPath: keyPath}
tgt := harness.SSHTarget{User: "ubuntu", Host: host, Port: port, KeyPath: keyPath}
before := guestMACSet(t, tgt)