Changeset 12233 in genesis
- Timestamp:
- Apr 11, 2013, 5:34:28 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/gformat.py
r11740 r12233 1933 1933 datadump = get_yaml(system) 1934 1934 print system, datadump['rdnap_x'], datadump['rdnap_y'] 1935 elif sys.argv[2] == 'ssh_config': 1936 print ''' 1937 Host *.wleiden.net 1938 User root 1939 1940 Host 172.16.*.* 1941 User root 1942 ''' 1943 for system in get_hostlist(): 1944 datadump = get_yaml(system) 1945 print '''\ 1946 Host %s 1947 User root 1948 1949 Host %s 1950 User root 1951 1952 Host %s 1953 User root 1954 1955 Host %s 1956 User root 1957 ''' % (system, system.lower(), datadump['nodename'], datadump['nodename'].lower()) 1935 1958 else: 1936 1959 usage()
Note:
See TracChangeset
for help on using the changeset viewer.