ACC SHELL

Path : /usr/share/YaST2/modules/
File Upload :
Current File : //usr/share/YaST2/modules/Hostname.ybc

YaST bytecode 1.4.0HostnameHostname.ycpIPString
ValidChars	ValidCharsDomain	ValidCharsFQ	ValidDomain		ValidHost	ValidFQ		Check	
CheckDomain	CheckFQ	SplitFQ		
MergeFQ				CurrentFQ	CurrentHostname	
CurrentDomain	 +6		Ahost	

Kdomain	[host	f
fqhostname	

hostname	domain	3SCRReadExecute0base3IPCheck	3String
FirstChunk			$?0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ-$+			.$% -"A valid domain name consists of components separated by dots.
Each component contains letters, digits, and hyphens. A hyphen may not
start or end a component and the last component may not begin with a digit.base%+--lA valid host name consists of letters, digits, and hyphens.
A host name may not begin or end with a hyphen.
base%6-7%A	(B||||	size	?-B-C		regexpmatch		(^[[:alnum:]]([[:alnum:]-]*[[:alnum:]])?$%K
l	(L||-L(N	size	4N(O			substring		-	size	.&O			substring		-	size	$Q			splitstring			.(Rcontains		maplisth		-R-S!		regexpmatch		\.[[:digit:]][^.]*$%[-\
%fhn	dn	dot(g||4g,h	
y2error	
Bad FQ hostname: %1-i	$l$m$o		findfirstof		.(p4p&q			substring		&r			substring		+-s4u&v-w-z%
(||--+			+			.%
fqhostname	
hostname_data$$SCR::Execute.target.bash_outputhostname --fqdn(||exit4&
	SCR::Read.target.stat
/etc/HOSTNAME		SCR::Read.target.string
/etc/HOSTNAME(||4&
linux.site,	
	y2warning	
Using fallback hostname %14&	stdout&
,	
y2debug	
Current FQDN: %1-%hostname	
fqhostname	$$(4&4data	$(	&	,	
y2debug	
Current hostname: %1-%domain	
fqhostname	$$(!4data	$(&&	size&	,	
y2debug	
Current domainname: %1-

ACC SHELL 2018