Shorten default boot_key_interval to 5ms from 100ms
This commit is contained in:
parent
dad3ae1535
commit
b467bb22a3
|
@ -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