Commit Graph

11 Commits

Author SHA1 Message Date
Evgeni Golov
7bc4cdcba0 catch -h/--help passed to create_box.sh and output usage
instead of passing it to readlink, confisung the user with strange
output
2016-12-01 12:42:55 +01:00
Josh Smith
b9a61d8e26 Add 1GB to the size of virtual disk as defined in metadata.json. Since teh awk int function truncates (not rounds) soemtimes the virtual disk was defined a bit too small causing sporadic boot failusres. 2015-10-09 15:55:03 -04:00
Josh Smith
163896aceb Added comment to describe cahanges as requested 2015-10-05 13:43:38 -04:00
Josh Smith
b59c007f85 No need to use both grep and awk here - just grep will do. 2015-10-05 12:41:49 -04:00
Josh Smith
0aea938dea If the disk size is specified as a decimil number the generated metadat.json file is invalid resulting in a broken vagrant box. Wraped this in the awk int() function to only print the integer part of the disk size. 2015-10-05 12:31:37 -04:00
dima
fa004ab251 require only read for create image 2015-05-18 09:30:29 +02:00
Jakob Aarøe Dam
7782113fae Backout on box creation if image is in use. 2015-04-17 16:13:21 +02:00
Jakob Aarøe Dam
e7c7d70c3a Check for write permission to image before boxing. 2015-03-17 10:27:04 +01:00
Jakob Aarøe Dam
88991f0c1c Support spaces in paths, by quoting all variables. 2015-02-26 09:46:04 +01:00
Jakob Aarøe Dam
d84efc301a Print proper paths to user when using a absolute BOX path. 2015-02-19 10:24:42 +01:00
Jakob Aarøe Dam
a1c3ffafb8 Script to create a box out of a qcow2 file. 2015-02-18 11:22:43 +01:00