-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Feature Request ? Or documentation ? About building old centos version. #118
Comments
Hello Everyone, Here is a patch which makes the build process of a centos6 image pass again. Thanks in advance,
|
Hey, can you submit this as a Pull Request? It would be easier for us to review it and eventually merge it |
Hey !
So I won't go through this useless security storm overhead burden. Any web way with doc on how to do what you call a pull request ? Have a nice day. |
Hi @mickaeldotlambertatkontrondotcom , First of all thank you very much for your effort on this! In order to open a pull request to this repository you have to follow this guide: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork In short, you have to
Let me know if you need any additional help! |
Hey @mickaeldotlambertatkontrondotcom! |
Hello SK1Y101, I hope you're doing fine ; - ) I was on leave ; - ) I am still working on this from time to time. But I won't open a PR due to many technical, network, security, knowledge, about using github from our lab. If you are interested into, after testing, for sure, I could post the diff here. Have a nice day, |
Hey @mickaeldotlambertatkontrondotcom! |
Hello SK1Y101, I hope your doing fine ! Here is my patch for CentOS6 :
The build work, but then the deployment does not. Nice day, |
I tested this patch and was able to build and then import a successful CentOS 6.10 image. However on MAAS 3.3.5 the deployments fail with the following error:
Function: def write_interface_config(target, iface, data):
"""Writes config for interface."""
family = data['family']
if family != "inet":
# Only supporting ipv4 currently
print(
"WARN: unsupported family %s, "
"failed to configure interface: %s" (family, iface))
return
config = get_ipv4_config(iface, data)
path = os.path.join(
target, 'etc', 'sysconfig', 'network-scripts', 'ifcfg-%s' % iface)
with open(path, 'w') as stream:
stream.write(config + '\n') I think we need more fixes. |
Hello Alan, CentOS 6 is EOL from end 2020. That would be great if someone could break the neck of this issue. Form the error you have mentionned, it seems to us that "family = data['family']" may not be the correct method to get 'family' from "data". Thanks in advance, |
Hello Everyone,
I hope you're doing fine !
Just for the purpose of doing trials, I wanted to build old versions of centos like centos6.
But I got "YumRepo Error: All mirror URLs are not using ftp, http[s] or file." cause this distribution is deprecated and mirror are not available anymore at their usual addresses.
So then I tried to patch like this :
But I still got the same issue.
Is there any easy way to move from iso install in place of network install, if that may be a way to easily solve the issue ?
Or any easy way to provide the network installer with the correct info about the mirrors for the image to be able to build ?
Or even, did I miss something somewhere ?
Have a nice day,
Best Regards,
Mickaël.
The text was updated successfully, but these errors were encountered: