From 899ce7f055162377ed7449e853df716247f92e17 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 17 Aug 2023 16:27:45 -0400 Subject: [PATCH] Correct spelling of hooks directory in Ubuntu cloning --- imgutil/imgutil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgutil/imgutil b/imgutil/imgutil index 28208e6a..0a9d4756 100644 --- a/imgutil/imgutil +++ b/imgutil/imgutil @@ -205,7 +205,7 @@ def capture_remote(args): if not os.path.exists(utillib): raise Exception('Not yet supported for capture: ' + repr(finfo)) subprocess.check_call(['rsync', '-a', utillib, '{0}:/etc/initramfs-tools'.format(targ)]) - subprocess.check_call(['ssh', '-o', 'LogLevel=QUIET', '-t', targ, 'chmod', '+x', '/etc/initramfs-tools/hook/confluent']) + subprocess.check_call(['ssh', '-o', 'LogLevel=QUIET', '-t', targ, 'chmod', '+x', '/etc/initramfs-tools/hooks/confluent']) else: utillib = os.path.join(utillib, '{}/dracut/'.format(oscat)) if not os.path.exists(utillib):