ddelnano / packer-plugin-xenserver

A builder plugin for Packer.IO to support building XenServer images.
Mozilla Public License 2.0
71 stars 37 forks source link

Feature request: Add <waitXX> in boot_command #133

Open kevemueller opened 2 months ago

kevemueller commented 2 months ago

Sometimes things take time, repeating 10s waits in boot_command is tiresome. Other packer plugins support <waitXX>, with the following semantics:

<waitXX> - Add an arbitrary pause before sending any additional keys. 
The format of XX is a sequence of positive decimal numbers, each with optional fraction and a unit suffix, such as 300ms, 1.5h or 2h45m. 
Valid time units are ns, us (or µs), ms, s, m, h. For example <wait10m> or <wait1m20s>.

E.g. https://www.packer.io/docs/builders/qemu.html#lt-waitxx-gt-

Would be great to see this in this plugin as well.