SHA256
1
0
forked from pool/cloud-init
cloud-init/cloud-init-add-variant-cloudcfg.patch

13 lines
600 B
Diff

diff -up ./setup.py.cloudcfg ./setup.py
--- ./setup.py.cloudcfg 2018-01-16 19:05:51.172016283 +0000
+++ ./setup.py 2018-01-16 19:06:24.380417971 +0000
@@ -114,7 +114,7 @@ def render_tmpl(template):
atexit.register(shutil.rmtree, tmpd)
bname = os.path.basename(template).rstrip(tmpl_ext)
fpath = os.path.join(tmpd, bname)
- tiny_p([sys.executable, './tools/render-cloudcfg', template, fpath])
+ tiny_p([sys.executable, './tools/render-cloudcfg', '--variant=suse', template, fpath])
# return path relative to setup.py
return os.path.join(os.path.basename(tmpd), bname)