/usr/bin/uec2roottar is in maas-rack-controller 2.0.0~beta3+bzr4941-0ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | #! /usr/bin/python3
# Copyright 2014-2016 Canonical Ltd. This software is licensed under the
# GNU Affero General Public License version 3 (see the file LICENSE).
"""Convert a "UEC" root image file to a root tarball.
This requires root privileges, because it needs to loop-mount the image file
in order to read its contents.
"""
from provisioningserver.import_images import uec2roottar
if __name__ == "__main__":
parser = uec2roottar.make_argparser(__doc__)
args = parser.parse_args()
uec2roottar.main(args)
|