From 24d33256ca58ba4d10a97b456d4356247b913f3c Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 14 Jun 2021 13:45:44 -0400 Subject: [PATCH] Fix typo in dracut configuration --- imgutil/imgutil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgutil/imgutil b/imgutil/imgutil index 128e30c2..fc1451cd 100644 --- a/imgutil/imgutil +++ b/imgutil/imgutil @@ -91,7 +91,7 @@ class ElHandler(object): targdir = os.path.join(self.targpath, 'usr/lib/dracut/modules.d/97diskless') shutil.copytree(dracutdir, targdir) with open(os.path.join(self.targpath, 'etc/dracut.conf.d/diskless.conf'), 'w') as dracutconf: - dracutconf.write('compress=xz\nhostonly=no\ndracutmodules+="diskless base terminfo\n') + dracutconf.write('compress=xz\nhostonly=no\ndracutmodules+="diskless base terminfo"\n') cmd = ['chmod', 'a+x'] cmd.extend(glob.glob(os.path.join(targdir, '*'))) subprocess.check_call(cmd)