diff options
-rw-r--r-- | cloudinit/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/__init__.py b/cloudinit/__init__.py index 8661b459..a5df3436 100644 --- a/cloudinit/__init__.py +++ b/cloudinit/__init__.py @@ -421,11 +421,11 @@ class CloudInit: if ctype == "__begin__": return filename=filename.replace(os.sep,'_') - prefix="#cloud-boothooks" + prefix="#cloud-boothook" dos=False start = 0 if payload.startswith(prefix): - start = len(prefix)+1 + start = len(prefix) if payload[start] == '\r': start=start+1 dos = True |