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.