Lines 63-72
Link Here
|
63 |
@cp vagrant-${PROVIDER}.vmdk ${PROVIDER}/vagrant.vmdk |
63 |
@cp vagrant-${PROVIDER}.vmdk ${PROVIDER}/vagrant.vmdk |
64 |
. if ${PROVIDER} == "virtualbox" |
64 |
. if ${PROVIDER} == "virtualbox" |
65 |
@(cd ${.OBJDIR}/${PROVIDER} && echo '{"provider":"${PROVIDER}"}' > metadata.json) |
65 |
@(cd ${.OBJDIR}/${PROVIDER} && echo '{"provider":"${PROVIDER}"}' > metadata.json) |
66 |
@(cd ${.OBJDIR}/${PROVIDER} && tar -czf ../${VAGRANT_TARGET}.${PROVIDER}.box metadata.json box.ovf vagrant.vmdk) |
66 |
@(cd ${.OBJDIR}/${PROVIDER} && tar -czf ../${VAGRANT_TARGET}.${PROVIDER}.box metadata.json box.ovf Vagrantfile vagrant.vmdk) |
67 |
. elif ${PROVIDER} == "vmware" |
67 |
. elif ${PROVIDER} == "vmware" |
68 |
@(cd ${.OBJDIR}/${PROVIDER} && echo '{"provider":"${PROVIDER}_desktop"}' > metadata.json) |
68 |
@(cd ${.OBJDIR}/${PROVIDER} && echo '{"provider":"${PROVIDER}_desktop"}' > metadata.json) |
69 |
@(cd ${.OBJDIR}/${PROVIDER} && tar -czf ../${VAGRANT_TARGET}.${PROVIDER}.box metadata.json vagrant.vmx vagrant.vmdk) |
69 |
@(cd ${.OBJDIR}/${PROVIDER} && tar -czf ../${VAGRANT_TARGET}.${PROVIDER}.box metadata.json vagrant.vmx Vagrantfile vagrant.vmdk) |
70 |
. endif |
70 |
. endif |
71 |
|
71 |
|
72 |
CLEANFILES+= vagrant-do-upload-${PROVIDER} |
72 |
CLEANFILES+= vagrant-do-upload-${PROVIDER} |
Lines 85-90
Link Here
|
85 |
|
85 |
|
86 |
virtualbox/box.ovf: ${.CURDIR}/scripts/box.ovf |
86 |
virtualbox/box.ovf: ${.CURDIR}/scripts/box.ovf |
87 |
cp ${.ALLSRC} virtualbox/ |
87 |
cp ${.ALLSRC} virtualbox/ |
|
|
88 |
cp ${.CURDIR}/scripts/Vagrantfile virtualbox/ |
88 |
|
89 |
|
89 |
vmware/vagrant.vmx: |
90 |
vmware/vagrant.vmx: |
90 |
@(cd vmware && echo '.encoding = "UTF-8"' > vagrant.vmx) |
91 |
@(cd vmware && echo '.encoding = "UTF-8"' > vagrant.vmx) |