Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Move the creation of config files to run time #1044

Closed
wants to merge 4 commits into from

Conversation

josemauro
Copy link
Member

@josemauro josemauro commented Mar 25, 2020

Moving the creation of config files to run time instead installation time.

  • The 'config.py' create a folder 'etc/kytos' and 'kytos.conf' if the file is not found.
  • The 'kytosd.py' create 'var/run' and folders.

kytos/core/config.py Outdated Show resolved Hide resolved
kytos/core/kytosd.py Outdated Show resolved Hide resolved
kytos/core/config.py Outdated Show resolved Hide resolved
kytos/core/config.py Outdated Show resolved Hide resolved
@josemauro josemauro changed the title fix issue #1042 Moving the creation of config files to run time Apr 3, 2020
kytos/core/config.py Outdated Show resolved Hide resolved
@hdiogenes hdiogenes changed the title Moving the creation of config files to run time Move the creation of config files to run time Apr 3, 2020
kytos/core/kytosd.py Outdated Show resolved Hide resolved
setup.py Outdated Show resolved Hide resolved
setup.py Show resolved Hide resolved
@josemauro josemauro force-pushed the fix-issue-1042 branch 2 times, most recently from b053e08 to 3d1154d Compare April 8, 2020 15:50
kytos/core/kytosd.py Outdated Show resolved Hide resolved
josemauro and others added 4 commits April 8, 2020 15:58
An error was raised when kytos was trying to copy template files to installation root folder. This commit changes config.py to solve this problem.
@hdiogenes hdiogenes closed this Apr 8, 2020
@josemauro josemauro deleted the fix-issue-1042 branch April 14, 2020 21:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create configuration only in post-install (or kytosd bootstrap)
4 participants