spelling: instance
This commit is contained in:
parent
62f59662a3
commit
933ac20e68
|
@ -132,7 +132,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
||||||
RegionId: b.config.AlicloudRegion,
|
RegionId: b.config.AlicloudRegion,
|
||||||
InternetChargeType: b.config.InternetChargeType,
|
InternetChargeType: b.config.InternetChargeType,
|
||||||
InternetMaxBandwidthOut: b.config.InternetMaxBandwidthOut,
|
InternetMaxBandwidthOut: b.config.InternetMaxBandwidthOut,
|
||||||
InstnaceName: b.config.InstanceName,
|
InstanceName: b.config.InstanceName,
|
||||||
ZoneId: b.config.ZoneId,
|
ZoneId: b.config.ZoneId,
|
||||||
})
|
})
|
||||||
if b.chooseNetworkType() == VpcNet {
|
if b.chooseNetworkType() == VpcNet {
|
||||||
|
|
|
@ -21,7 +21,7 @@ type stepCreateAlicloudInstance struct {
|
||||||
RegionId string
|
RegionId string
|
||||||
InternetChargeType string
|
InternetChargeType string
|
||||||
InternetMaxBandwidthOut int
|
InternetMaxBandwidthOut int
|
||||||
InstnaceName string
|
InstanceName string
|
||||||
ZoneId string
|
ZoneId string
|
||||||
instance *ecs.InstanceAttributesType
|
instance *ecs.InstanceAttributesType
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,7 @@ func (s *stepCreateAlicloudInstance) Run(_ context.Context, state multistep.Stat
|
||||||
IoOptimized: ioOptimized,
|
IoOptimized: ioOptimized,
|
||||||
VSwitchId: vswitchId,
|
VSwitchId: vswitchId,
|
||||||
SecurityGroupId: securityGroupId,
|
SecurityGroupId: securityGroupId,
|
||||||
InstanceName: s.InstnaceName,
|
InstanceName: s.InstanceName,
|
||||||
Password: password,
|
Password: password,
|
||||||
ZoneId: s.ZoneId,
|
ZoneId: s.ZoneId,
|
||||||
DataDisk: diskDeviceToDiskType(config.AlicloudImageConfig.ECSImagesDiskMappings),
|
DataDisk: diskDeviceToDiskType(config.AlicloudImageConfig.ECSImagesDiskMappings),
|
||||||
|
@ -89,7 +89,7 @@ func (s *stepCreateAlicloudInstance) Run(_ context.Context, state multistep.Stat
|
||||||
InternetMaxBandwidthOut: s.InternetMaxBandwidthOut,
|
InternetMaxBandwidthOut: s.InternetMaxBandwidthOut,
|
||||||
IoOptimized: ioOptimized,
|
IoOptimized: ioOptimized,
|
||||||
SecurityGroupId: securityGroupId,
|
SecurityGroupId: securityGroupId,
|
||||||
InstanceName: s.InstnaceName,
|
InstanceName: s.InstanceName,
|
||||||
Password: password,
|
Password: password,
|
||||||
ZoneId: s.ZoneId,
|
ZoneId: s.ZoneId,
|
||||||
DataDisk: diskDeviceToDiskType(config.AlicloudImageConfig.ECSImagesDiskMappings),
|
DataDisk: diskDeviceToDiskType(config.AlicloudImageConfig.ECSImagesDiskMappings),
|
||||||
|
|
Loading…
Reference in New Issue