Don't hardcode suse version in repo.

parent 47fd104a
...@@ -656,7 +656,7 @@ def slapprepare(): ...@@ -656,7 +656,7 @@ def slapprepare():
# Install/update slapos # Install/update slapos
try: try:
_call(['zypper', 'addrepo', '-fc', '-n', '"SlapOS Official repo"' _call(['zypper', 'addrepo', '-fc', '-n', '"SlapOS Official repo"'
,'http://download.opensuse.org/repositories/home:/VIFIBnexedi/openSUSE_12.1/', 'slapos']) ,'http://download.opensuse.org/repositories/home:/VIFIBnexedi/openSUSE_%s/' % suse_version(), 'slapos'])
except: except:
pass pass
_call(['zypper', '--gpg-auto-import-keys', 'install', '-y', 'slapos.node']) _call(['zypper', '--gpg-auto-import-keys', 'install', '-y', 'slapos.node'])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment