Merge pull request #8088 from carlpett/shorten-default-boot-key-interval
builder/proxmox: Shorten default boot_key_interval to 5ms from 100ms
This commit is contained in:
commit
b06f50fea8
|
@ -103,7 +103,7 @@ func NewConfig(raws ...interface{}) (*Config, []string, error) {
|
|||
c.RawBootKeyInterval = os.Getenv(common.PackerKeyEnv)
|
||||
}
|
||||
if c.RawBootKeyInterval == "" {
|
||||
c.BootKeyInterval = common.PackerKeyDefault
|
||||
c.BootKeyInterval = 5 * time.Millisecond
|
||||
} else {
|
||||
if interval, err := time.ParseDuration(c.RawBootKeyInterval); err == nil {
|
||||
c.BootKeyInterval = interval
|
||||
|
|
Loading…
Reference in New Issue