Skip to content
This repository was archived by the owner on Nov 24, 2022. It is now read-only.
This repository was archived by the owner on Nov 24, 2022. It is now read-only.

vagrant package: rootfs duplicate files #172

@gwillem

Description

@gwillem

So I want to repackage a box to speed up the time taken by the CM.

vagrant package $VM --output vm.box.tgz
cd ~/.vagrant.d/boxes/precise64
mv lxc lxc-backup
mkdir lxc
cd lxc
tar xfvz ~/vm.box.tgz
vagrant up 

but this yields (VAGRANT_LOG=DEBUG):

DEBUG subprocess: stdout: Extracting /home/willem/.vagrant.d/boxes/precise64/lxc/rootfs.tar.gz ...
DEBUG subprocess: stderr: tar: resolvconf: Cannot open: File exists
DEBUG subprocess: stderr: tar: init: Cannot open: File exists
DEBUG subprocess: stderr: tar: plymouth: Cannot open: File exists
DEBUG subprocess: stderr: tar: Exiting with failure status due to previous errors
DEBUG subprocess: stderr: lxc-create: container creation template for hypernode-deploy_precise04-1383060216 failed

I'm not sure why these files already exist. @fgrehm, would you have any idea how I can find the relevant tar cmd (with full paths) and examine the situation in a sandbox ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions