Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support RHEL7 #59

Closed
sdbrockme opened this issue Dec 13, 2019 · 5 comments
Closed

Support RHEL7 #59

sdbrockme opened this issue Dec 13, 2019 · 5 comments

Comments

@sdbrockme
Copy link

Thanks for creating this awesome project. I took a look at the python code and there is a check to make sure the OS is one of the 3 supported OS's. I'm in a corporate environment and we must run RHEL for all linux instances. Is there any way to build in support for RHEL?

@sdbrockme
Copy link
Author

Here's what I get when running the platform.linux_distribution() command:

[v00utlrhl401 freeztp]$ python -c 'import platform;print(platform.linux_distribution())'
('Red Hat Enterprise Linux Server', '7.7', 'Maipo')

@PackeTsar
Copy link
Owner

what do you get when you run the command ztp

@PackeTsar
Copy link
Owner

Or if you have not installed it: python ztp.py

@sdbrockme
Copy link
Author

sdbrockme commented Dec 13, 2019

I have not installed yet. Looking at your installer I was concerned it would error out. based on the definition for _dist_detect:

I unfortunately can't run the installer and have to request someone else run it. Just attempting to make sure the installer will work as the request process is a PIA.

I'm going to go ahead and request it to be installed. I'll report back here.

Thanks
Seth

@sdbrockme
Copy link
Author

sdbrockme commented Dec 13, 2019

As I thought, we had to edit the script to return "centos" for the linux distro. T

          distlist = platform.linux_distribution()
            return "centos"

The script had some errors when running and failed to fully install. I've attached the output.
FreeZtp fail.txt

I've found something. Looks like our proxy is returning an HTML file instead of the TFTPy project file.
Working on getting through the proxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants