-
Notifications
You must be signed in to change notification settings - Fork 50
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
Discussion #23
Comments
Hi @AnwarYagoub, always great to plan.
For the goal 1 & 2, we need an automated way of installing from an ISO. The Ansible scripts can mostly be re-used. I can think of two methods, in both the students will still be able to perform the utmost important exercise 11.1:
Let me know what you think. |
Hello @smartbit , I have been tinkering with packer & managed to create a CentOS 7 & Ubuntu 16.04 vagrant boxes using ansible as a provisioner you can check it from this link. It is not fully ready yet. when you add the resulted
If we got this problem fixed we can use the we can also complete the circle by upload packer generated boxes to atlas for easy distribution. I am with you in all your points but could you elaborate on |
Hi @AnwarYagoub, great you gave this a kickstart! Interesting your using packer to create a Vagrant box, I don't think of that route although it was mentioned in one of the videos (was long time ago I saw that presentation).
I think the insecure key is not in the box, although that should have been fixed hashicorp/vagrant#5780. wget --no-check-certificate https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub -O .ssh/authorized_keys
Maybe in the future, let's see how stable things are and whether this adds value and not adds download traffic.
Great! I have a few questions
|
Thanks I will check this & let you know what happened.
I must confess for the last 2 months I was not following Sander's announcements so I missed the new changes. EPEL make package installation like (ansible) easier but we will try to comply with Sander's instructions.
No specific reason for using 1611 in the Packter-Test project. As you can see in the project anisble is there but I am not doing anything with it rather than display a debug message from a task & from a role to prove that ansible is working. Packer-Test project was just a PoC & we can also use it as a template for our packer configuration. I have managed to create both AWS AMI & DigitalOcean snapshots using packer I will add the examples to Packer-Test project.
Yes Packer+Ansible combination is able to do that but I think we can use packer to create a ready server1, server2, & labipa vagrant boxes & upload it to atlas which will reduce the time needed for learners to start the environment (except for the first time) while still providing the packer configuration as a reference they can use to generate their own versions. Vagrant is easier to work with than Packer not too many moving parts (builders, provisioners, post-processor, .....) We can also automate the whole process of boxes creation so no headache from our side to create boxes. We can use packer along with ansible to prepare lab environment for other books or guides like cerdepot or tecmint. To do so we need to design our ansible roles to be as general as possible. as for:
I am currently reading these articles: Below is a list of current requirements to make sure that we are on the same page:
|
@AnwarYagoub all the best wishes and hope you pass your exam(s) in 2017. Looking forward to continuing our fruitful cooperation.
Great! The the packer configuration in combination with CentOS-7-x86_64-DVD-1611.iso could be useful for those with little bandwidth.
Currently the requirements are IMHO best described in the Ansible files (as they should be in a immutable infrastructure). By the time we both did all exercises both for part 1 (RHCSA) & part 2 (RHCE) we will know how what the optimal lab-environment for Sander's book is. If possible we can adapt it (e.g. with sections that can be commented in/out) for other books or guides like certdepot or tecmint. I'll take a look at you're reading list. Thanks. |
Hello @smartbit, As always sorry for being late :) I hope you are fine. I am glad to tell that I've passed the RHCE back in may. If you are interested to complete this project that will be great. |
@AnwarYagoub Appreciated, I'd like to enhance the project. Congrats with RHCE 🎉 Haven't looked much into RH since January, worked fulltime on Ubuntu with dc/os. Last couple of weeks focusing on CKA. Thereafter plan to pursue RH certification. |
That's great @smartbit wish you luck with the CKA, I have tinkered with kubernets in the past month so I learned the basics & I am planning to go deep soon so be prepared for my questions 😄 These days I got a plenty of time that I can dedicate it to this project to make it reach (easy to use state). when you have a spare time you can pass by this project to check the latest changes. |
Hello @smartbit & sorry for always being late
the first commit on this project was on
May 31, 2016
now we are onDec 2016
so its 7 months with no stable outcome that will benefit other who are trying to learn Linux or passing any one of RHCSA or RHCE exams. After 7 months we have done a lot thanks to you on that because I was busy & lazy for the most of the time, but we did not come with a result that is fully operational.I think we reach this point (if I am correct in my assumption) because when we started to collaborate on this project we did not set a clear goals, instead we just keep on adding what we think is useful & helpful. so IMHO I think we need to set our goals & discuss how we can achieve it instead of just adding features or fixing issues.
Let me specify some goals & feel free to modify it or add on it:
finally after setting our goals we need to know where we are now from these goals & how to achieve them.
Regards.
The text was updated successfully, but these errors were encountered: