forked from pool/cloud-init
Robert Schweikert
b8b0f503ea
- patch distribution detection until a fix is delivered to python3 (bsc#997614) OBS-URL: https://build.opensuse.org/request/show/568727 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=103
13 lines
600 B
Diff
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)
|
|
|