diff --git a/imgutil/imgutil b/imgutil/imgutil index 118e9b29..25a99860 100644 --- a/imgutil/imgutil +++ b/imgutil/imgutil @@ -1046,6 +1046,8 @@ def main(): capturep.add_argument('node', help='Node to capture image from') capturep.add_argument('profilename', help='Profile name for captured image') args = parser.parse_args() + if args.scratchdir: + args.scratchdir = os.path.abspath(args.scratchdir) if not args or not args.subcommand: parser.print_usage() sys.exit(1)