forked from autotest/autotest
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
autoserv: append profile selection to hostname parameter
I spent much time going back and forth trying to find the smallest impact way to present installer server profiles to autoserv for control file usage. Eventually, I decided that appending it to the hostname makes sense, as it's a parameter of the host selection -- i.e., I want UserW on HostX installed with ProfileY. '#' is not a valid character in hostnames, afaik, so I think it should be safe to use as a separator. Update the parse_machine to know about this separator. Now, create_host() automatically puts in a profile object, if the host is of type InstallableHost. Signed-off-by: Nishanth Aravamudan <[email protected]>
- Loading branch information
Showing
5 changed files
with
102 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters