[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Moving GCE scripts to Python

Hi Tomask,
an other remark.

you generate image.tar.gz in current directory. You should generate tar.gz image in target dir (same as raw dir) and change the image file name at the end of your process.

Something like:

log_check_call(['/bin/tar', '--sparse', '-C', info.manifest.bootstrapper['workspace'], '-caf', os.path.join( info.manifest.bootstrapper['workspace'], filename+'.tar.gz'), filename]

Then delete filename from workspace.


2014-02-04 20:20 GMT+01:00 Tomasz Rybak <tomasz.rybak@post.pl>:
Thanks for all the replies. I went offline for the weekend,
but now I'm back and ready to incorporate all the tips you all

Question to Jimmy.
In old gce scripts there is one script downloading and unpacking
gsutil (tasks/gce/25-install-gsutil).
It seems that now gsutil is included in gcutil - at least it got
installed by gcutil when I upgraded it. Should I change
list of installed debs (retrieved from pigeon repository) to include
gsutil, run gcutil to install gsutil itself, or leave situation
as is now, i.e. downloading and unpacking binaries from

Best regards.

Tomasz Rybak  GPG/PGP key ID: 2AD5 9860
Fingerprint A481 824E 7DD3 9C0E C40A  488E C654 FB33 2AD5 9860

gpg key id: 4096R/326D8438  (keyring.debian.org)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

Reply to: