Ensure template-name and rootfs-cache-path are set prior to container creation
This commit is contained in:
parent
1b9dcf5aad
commit
30b1420ced
1 changed files with 3 additions and 3 deletions
|
@ -50,12 +50,12 @@ module Vagrant
|
|||
# TODO: Handle errors
|
||||
lxc :create,
|
||||
# lxc-create options
|
||||
'--template', metadata['template-name'],
|
||||
'--template', metadata.fetch('template-name'),
|
||||
'--name', @name,
|
||||
'--',
|
||||
# Template options
|
||||
'--auth-key', public_key,
|
||||
'--cache', metadata['rootfs-cache-path'],
|
||||
'--auth-key', public_key,
|
||||
'--cache', metadata.fetch('rootfs-cache-path'),
|
||||
*meta_opts
|
||||
|
||||
@name
|
||||
|
|
Loading…
Reference in a new issue