@@ -120,9 +120,9 @@ func (a *AWSRunner) Validate() error {
120
120
a .deployer .UserDataFile = "al2023.sh"
121
121
}
122
122
case "ubuntu" , "" :
123
- path = "/aws/service/canonical/ubuntu/server/jammy /stable/current/" + arch + "/hvm/ebs-gp2 /ami-id"
123
+ path = "/aws/service/canonical/ubuntu/server/noble /stable/current/" + arch + "/hvm/ebs-gp3 /ami-id"
124
124
if a .deployer .UserDataFile == "" {
125
- a .deployer .UserDataFile = "ubuntu2204 .yaml"
125
+ a .deployer .UserDataFile = "ubuntu2404 .yaml"
126
126
}
127
127
default :
128
128
return fmt .Errorf ("unrecognized parameter --image : %s" , a .deployer .Image )
@@ -182,9 +182,9 @@ func (a *AWSRunner) Validate() error {
182
182
a .deployer .WorkerUserDataFile = "al2023.sh"
183
183
}
184
184
case "ubuntu" , "" :
185
- path = "/aws/service/canonical/ubuntu/server/jammy /stable/current/" + arch + "/hvm/ebs-gp2 /ami-id"
185
+ path = "/aws/service/canonical/ubuntu/server/noble /stable/current/" + arch + "/hvm/ebs-gp3 /ami-id"
186
186
if a .deployer .WorkerUserDataFile == "" {
187
- a .deployer .WorkerUserDataFile = "ubuntu2204 .yaml"
187
+ a .deployer .WorkerUserDataFile = "ubuntu2404 .yaml"
188
188
}
189
189
default :
190
190
return fmt .Errorf ("unrecognized parameter --worker-image : %s" , a .deployer .WorkerImage )
@@ -462,11 +462,11 @@ func (a *AWSRunner) getUserData(dataFile string, version string, controlPlane bo
462
462
userdata = string (userDataBytes )
463
463
}
464
464
} else {
465
- userDataBytes , err := config .ConfigFS .ReadFile ("ubuntu2204 .yaml" )
465
+ userDataBytes , err := config .ConfigFS .ReadFile ("ubuntu2404 .yaml" )
466
466
if err != nil {
467
- return "" , fmt .Errorf ("error reading embedded ubuntu2204 .yaml: %w" , err )
467
+ return "" , fmt .Errorf ("error reading embedded ubuntu2404 .yaml: %w" , err )
468
468
}
469
- klog .Infof ("loading user data from embedded file: ubuntu2204 .yaml" )
469
+ klog .Infof ("loading user data from embedded file: ubuntu2404 .yaml" )
470
470
userdata = string (userDataBytes )
471
471
}
472
472
0 commit comments