Hello

Have your tried like the documentation?

{{isotime \"2006-01-02 03:04:05\"}}"


On Fri, Feb 21, 2020 at 9:55 PM Anil Shenoy <[email protected]> wrote:

> Hi All,
>
> Can you please suggest what is the best way to use isotime and rename a
> custom image in OCI?
>
> I have used the below and it worked fine.
>
> "my.timevar": "WinImage-{{isotime \"2006-01-02\"}}",
>
> But it not behaving vague when i use
>
> "my.timevar": "WinImage-{{isotime \"2006-01-02 15-04-05\"}}",
>
> "my.timevar": "WinImage-{{isotime 2 Jan 2006 15:04:05"}}"
>
> "my.timevar": "WinImage-{{isotime \"02-Jan-06 03\_04\_05\"}}
>
> and many other ways.
>
> Can you please suggest an accurate one that will display the date and time
> both.
>
> Best regards,
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/packer-tool/847b01c8-d625-47f0-8736-37e1f2f4cbbc%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/847b01c8-d625-47f0-8736-37e1f2f4cbbc%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Alvaro

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CAHqq0ex7XMW8m5YRoheuRmqwk3fwJ4ZYp0U%3D6XDkqyPxuAp8kQ%40mail.gmail.com.

Reply via email to