Red Hat SATELLITE 5.3.0 RELEASE NOTES Informacje Techniczne Strona 47

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 199
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 46
client = xmlrpclib.Server(SATELLITE_URL, verbose=0)
key = client.auth.login(SATELLITE_LOGIN, SATELLITE_PASSWORD)
#retrieve all the systems
AllSystems = client.system.listUserSystems(key)
# Initialize the list IDs of systems that match the id
IDs = []
#Loop through all the systems, if the name matches save the Id
for Sys in AllSystems:
if Sys['name'] == deleteName:
IDs.append(int(Sys['id']))
# Either print the system name is no systems matched, or delete all matched entries
if IDs == []:
print "No registered systems matched name: ", deleteName
else:
client.system.deleteSystems(key,IDs)
client.auth.logout(key)
if __name__ == "__main__":
sys.exit(main())
6.2.2 Install VM for Satellite
1. The kickstart configuration file used to install the satellite system is shown. In addition
to installing the systems, the post script:
mounts the CDROM and copies the resources directory to the system
sets the time, prepares NTP
configures iptables/firewalls
registers the system with RHN
updates software
configures DHCP and DNS
performs some cobbler related SELinux configurations
deploys a resolv.conf file
prepares actions to be performed on next boot
sat.ks.cfg
install
nfs --server=10.16.136.15 --dir=/root/distro
key <Installation Number>
lang en_US.UTF-8
keyboard us
#xconfig --startxonboot
skipx
network --device eth0 --bootproto static --ip 10.16.136.1 --netmask 255.255.248.0 --gateway
47 www.redhat.com
Przeglądanie stron 46
1 2 ... 42 43 44 45 46 47 48 49 50 51 52 ... 198 199

Komentarze do niniejszej Instrukcji

Brak uwag