[lxc-devel] [lxc/lxc] 494fd6: lxc-ubuntu-cloud: pass --numeric-owner and -p to u...

GitHub noreply at github.com
Tue Oct 8 14:27:15 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 494fd6b390ecae077375e171230ce78d6784dd43
      https://github.com/lxc/lxc/commit/494fd6b390ecae077375e171230ce78d6784dd43
  Author: Scott Moser <smoser at ubuntu.com>
  Date:   2013-10-08 (Tue, 08 Oct 2013)

  Changed paths:
    M templates/lxc-ubuntu-cloud.in

  Log Message:
  -----------
  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 at ubuntu.com>
Acked-by: Stéphane Graber <stgraber at ubuntu.com>





More information about the lxc-devel mailing list