So a coworker told me about how he bought a mac mini and installed vmare esxi on it, and is running a couple VM's with no issues. The mac mini is really small, and takes very little space compared to a normal box. I would love to do something similar with a regular PC and Linux. Does anyone know of a good mac mini alternative?
I've been hitting google up and have found some alternatives, but they are leaving me something to be desired.
So Red Hat is now sponsoring and paying for development on CentOS. From what I gather from the various press releases, CentOS will be part of some testing now, and won't be completely RHEL without the subscription. If that's the case, I'm kind of bothered by this since I use CentOS a lot, and don't want it to end up an unstable testing distro like Fedora. They changed the CentOS website to reflect this as well.
Ok, I have this handy dandy python script i'm writing. it basically will open a file, read the contents, and then use those contents to open a web address. I prompt the user for which environment he wants to check, use that choice to open a corresponding file, and add the contents to a list. now, how do I get that list value back to the rest of the program?
I'm literally just learning, and have cobbled some stuff together from google.
Edited to make it easier to read
serv_ip = 
dit = "dit"
prod = "prod"
stage = "stage"
sit = "sit"
test = "test"
"""Takes an arguement for which enviornment file to open, opens the file and adds it to a list
in_file = open(choice, 'r')
serv_ip = in_file.readlines()
serv_ip = [item.rstrip("\n") for item in serv_ip]
print("What environment do you want to check?"+ "\n")
print("5. test.rb.local" + "\n")
enviro = raw_input("Choice: ")
if enviro == "1":
elif enviro == "2":
elif enviro == "3":
elif enviro == "4":
elif enviro == "5":
print "Please choose a correct environment."
for entry in serv_ip:
f = urllib.urlopen("http://" + entry + "/rbproxy/ecvgroup")
s = f.read()
print "Server " + entry + " is in " + s