CLOUDSTACK-7143: add vagrant_box_build_time file that's standard with current veewee templates

This commit is contained in:
Leo Simons 2014-07-21 11:01:15 +02:00 committed by Rohit Yadav
parent 58ca92ce52
commit 29c1f91aea
2 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,10 @@
#!/bin/bash
set -e
set -x
function build_time() {
date > /etc/vagrant_box_build_time
}
return 2>/dev/null || build_time

View File

@ -57,6 +57,7 @@ config = {
:sudo_cmd => "echo '%p'|sudo -S sh '%f'",
:shutdown_cmd => 'halt -p',
:postinstall_files => [
'build_time.sh',
'apt_upgrade.sh',
'configure_grub.sh',
'postinstall.sh',