]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-ubuntu-cloud: pass --numeric-owner and -p to untar
authorScott Moser <smoser@ubuntu.com>
Tue, 8 Oct 2013 00:41:23 +0000 (20:41 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 8 Oct 2013 14:25:30 +0000 (10:25 -0400)
commit494fd6b390ecae077375e171230ce78d6784dd43
tree85e3c8076ac33875c4961dc133973f4162c4410b
parent034ef75d494c5ee6d46c04c3659a5be121a943ca
lxc-ubuntu-cloud: pass --numeric-owner and -p to untar

Just following up here, Serge raised the question of whether or not the
other two invocations of 'tar' in this script need '--numeric-owner'.
They probably should have it, although its of little concern because the
'build_root_tgz' path is only taken if there is no '-root.tar.gz' file for
download, and the only supported ubuntu release without the -root.tar.gz
download is 10.04 at this point.

Anyway, below is a more complete diff, also including a fix as
'--numeric-uid' is not a valid option to tar.  The name is
'--numeric-owner'.

Signed-off-by: Scott Moser <smoser@ubuntu.com>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-ubuntu-cloud.in