HP Insight Control Server Provisioning 7.3 Update 1 Build Plans Reference Guide

60
“setup.exe_path_and_file” - Path and filename to the Windows setup.exe program. Parameter should
include the double quotes.
Custom Attributes: None
Set Media Source
Defines the connection from the target server to the Media Server.
The Set Media Source script is where the location of the media to be used for a build plan is specified. The script will do
different things depending on the protocol specified in the URI:
SMB This is the Samba/Windows file share protocol. When this protocol is specified, the Windows file share is
mounted immediately as part of this script.
HTTP When the HTTP protocol is specified, this script writes the media location information to a special place
where it can be read by the Inject Required Settings steps later on. Those steps modify the OS installation
answer file to use the HTTP location specified for the OS installation.
NFS When NFS is specified, the NFS mount happens immediately as part of the script.
Note: The media server cannot be a domain controller.
Type: Python
Required Parameters:
URI - where URI can be any of the supported schemes:
- smb from a Windows client:
smb://username:password@server/path/to/media[#X:]
where X is the drive letter to mount. If the mount drive is omitted, the default is Z: If the
media server is part of a domain, the username must be in the form domain\username,
where domain is either the domain of the user account or the computer name if the user
account is a local account. The username can be a maximum length of 20 characters.
- smb from a Linux client:
smb://username:password@server/path/to/media#/mount/point?noserverino
where /mount/point is the local mount point and noserverino is required. If the media
server is part of a domain, the username must be in the form domain\username, where
domain is either the domain of the user account or the computer name if the user account
is a local account. The username can be a maximum length of 20 characters.
Special options:
Additional options can be added to the URI by appending them as a comma separated list.
These are passed as options to the mount.cifs command that is used to mount the
media server share. A sample URI with extra options:
smb://mydomain\user:mypassword@myserver.corp.com/media#/mnt?noserverino,sec=ntlmv2
The following are some common options:
sec=securitymode This option is used to match the security mode of the target server to
the security mode of the media server. The value of 'securitymode' needs to be set based
on the security configuration of your media server. If not specified the default is 'ntlm'. The
table below lists common Windows security policies and the appropriate security mode
setting. See the mount.cifs man page for more information.
Table 12: Windows security policies and ‘securitymode’ valuse
Security policy selected
Allowable choices
for 'securitymode'
(choose only one)
Network security: LAN Manager Authentication level
Send LM & NTLM responses
ntlm,ntlmv2,ntlmv2i