=== praneshp_ is now known as praneshp === harlowja is now known as harlowja_away === evilissimo|afk is now known as evilissimo === praneshp_ is now known as praneshp === zz_gondoi is now known as gondoi === evilissimo is now known as evilissimo|afk [15:56] smoser: Hi, I had a quick question about mount-image-callback: Are the commands provided with args executed from inside the chroot? If running "apt-get install" will it run using the apt-get binary from inside the image, or the "host"'s apt-get? [15:56] Because I'd like to modify a 14.04 cloud image on an older 10.04 system (or 12.04) [15:56] hosts. [15:56] if you want chroot. then chroot [15:57] mount-image-callback .... -- chroot _MOUNTPOINT_ apt-get update [15:57] smoser: And do you think that would work then (running apt-get from inside a chroot with a different host's version?) [15:58] CatKiller: yeah, that works unless you need kernel modules from the host [15:58] utlemming: Ah yes good point, didn't think about that. Here I'd be trying to install ubuntu-desktop within a ubuntu-cloudimage (server) [15:59] CatKiller: that works just fine, I do that all the time [15:59] smoser, utlemming: Thanks a lot for the help [15:59] smoser: Another thing, I'm going to implement resizing the image, but I was wondering whether it would not make more sense to create a separate image resize script instead of forking mount-image-callback as you initially suggested [16:01] the reason it woudl fit in mount-image-callback is that in order to resize , you will need to set up the qemu-nbd device [16:01] and re-implement a lot of that. [16:01] smoser: Very true. Then mount-image-callback it is :) [16:01] I'll submit a patch when I'm done provided my boss gives the go ahead. [16:01] I will try and keep it really nice and clean like your own scripts [16:05] CatKiller, thakns. i i think i'd just try to do it as both a '--resize' flag [16:05] and also a 'mount-image-callback ' [16:06] The second being like a command you pass to mount-image-callback? === gondoi is now known as zz_gondoi [16:46] CatKiller, well, i was tihning mount-image-callback would handle that specifically [16:47] kind of like a subcommand of mic [16:47] harlowja_away, https://review.openstack.org/#/c/103193/ [16:49] smoser, ok, I'll let you know when I'm done for a quick review [16:51] k === harlowja_away is now known as harlowja === harlowja is now known as harlowja_away === harlowja_away is now known as harlowja === hatchetation_ is now known as hatchetation