ACC SHELL

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

YaST bytecode 1.4.0AutoinstScripts)AutoinstScripts.ycpModeAutoinstConfigSummaryURLServicePopupLabelReport	autoinstall/io.ycp
FTPInstallationHTTP
StorageDevicesTFTP	GET_error	basename		dirname		Get				GetURL		prepostchrootinitpostpartmergedmodifiedSetModifiedGetModifiedmergeScriptsAutoinstScriptsExport	 Resolve_relurl!Import"Summary	#deleteScript	$
AddEditScript							%
typeString		&splitParams			'interactiveScript					(Write			 #&*-3<{  d!!s""##]
scriptName	$$l
scriptName	source	interpreter	type	chrooteddebugfeedbacknetwork
feedback_type		location	
notification	%%type	((Gtype	special03UI	UserInput
OpenDialogCloseDialogChangeWidget

QueryWidget

3WFMReadExecute3SCRReadWriteExecute3WFMReadExecute3SCRReadWriteExecute0autoinst3Modeautoinst3AutoinstConfig
destdir	urltokscheme	host		directory	tmpDir	scripts_dir	initscripts_dir	logs_dir	ShellEscape		3Summary	CloseList		
NotConfigured		AddHeader			AddLine			OpenList		AddListItem			3URLParse	Build	3ServiceEnable	3PopupLongText	
ClearFeedbackShowFeedback		3LabelOKButton	3ReportError	Message	Warning	1autoinstall/io.ycp0
autoinst3FTPGet		3
Installation	sourcedir	mountlog	boot	3HTTPGet		easySSL3StorageDevicesFloppyReadyFloppyDevice	3TFTPGet			$%filePath		pathComponentsret		$			splitstring			/$	-size-%'filePath		pathComponentslast	ret		$)			splitstring			/$*	-size$+			substring		-	size		size	-,%4Scheme	Host	Path		Localfile		okrestoksfull_url	tmp_dir	mount_point		&9$:$;
$<'=scheme'>host(?					regexpsub				
(.*)//(.*)\1/\24@	&A					regexpsub				
(.*)//(.*)\1/\2'Cpath$D	$F		WFM::Read
.local.tmpdir	$G+			
/tmp_mount,HWFM::Execute.local.mkdir(J||httphttps4K	,L&M(Ncode4O	&P-Q4T	,U	
y2error	
Can't find URL: %1&W		
sformat		
CCannot find URL '%1' via protocol HTTP(S). Server returned code %2.autoinstcode-X([ftp4\	&](^&&&&codecode,	SCR::Read.target.size4_	&`-a4d	,e	
y2error	
Can't find URL: %1&g		
sformat		
?Cannot find URL '%1' via protocol FTP. Server returned code %2.autoinstcode-h(kfile4lfile		$m		
sformat		
%1/%2(n	SCR::Read.target.size4ocpcmd		$p		
sformat		
cp %1 %2,q	
y2milestone	
Copy profile: %1,rSCR::Execute.target.bash4ucpcmd		&v+					
sformat		
Reading file on %1/%2 failed.
autoinst$w		
sformat		
cp %1 %2,x	
y2milestone	
Copy profile: %1,ySCR::Execute.target.bash(|	SCR::Read.target.size4}	&~&4	&+					
sformat		
Reading file on %1 failed.
autoinst,	
y2milestone	
-Trying to find file on installation media: %1(cd4cdrom	cdrom_device	already_mounted	am	$		SCR::Read.etc.install_inf.Cdrom$+			/dev/$+			+			grep  /proc/mounts ;$SCR::Execute.target.bash_output(&&exit	size		stdout4cmd	am1	,	
	y2warning	
.%1 is already mounted, trying to bind mount...$+			+			+			+			mount -v --bind `grep  /proc/mounts |cut -f 2 -d \ ` ;$SCR::Execute.target.bash_output(exit4	&4	,	
	y2warning	
can't bind mount %1 failing...&4	(!WFM::Execute.local.mount4	&+					
sformat		
Mounting %1 failed.autoinst,	
	y2warning	
Mount failed&4	&(4cpcmd		$		
sformat		
+			+			cp /%1 %2,	
y2milestone	
Copy profile: %1,SCR::Execute.target.bash,WFM::Execute
.local.umount(	SCR::Read.target.size4	&-&+					
sformat		
)Reading a file on CD failed. Path: %1/%2.autoinst&(nfs4copyCmd		(nfs4	,	
y2milestone	
Starting portmap: %1SCR::Execute.target.bash
/sbin/portmap(&&!SCR::Execute
.target.mount+			+			:	-o nolock!SCR::Execute
.target.mount+			+			:-t nfs44	,	
	y2warning	
Mount failed&		
sformat		
Mounting %1 failed.autoinst+			+			:-$+			+			+			+			+			/bin/cp / ,	
y2milestone	
Copy Command: %1(WFM::Execute.local.bash4	&&4	&		
sformat		
"Remote file %1 cannot be retrievedautoinst+			+			/,	
y2error	
!remote file %1 can't be retrieved+			+			/,WFM::Execute
.local.umount(cifs4copyCmd		(!SCR::Execute
.target.mount+			+			//-t cifs -o guest,ro4	,	
	y2warning	
Mount failed&		
sformat		
Mounting %1 failed.autoinst+			+			//-$+			+			+			+			+			/bin/cp / ,	
y2milestone	
Copy Command: %1(WFM::Execute.local.bash4	&&4	&		
sformat		
"Remote file %1 cannot be retrievedautoinst+			+			/,	
y2error	
!remote file %1 can't be retrieved+			+			/,WFM::Execute
.local.umount(floppy4	(4	,WFM::Execute.local.mount(WFM::Execute.local.bash+			+			+			+			+			/bin/cp / 4	,	
y2error	
file  %1 can't be retrieved+			+			/4	&&,SCR::Execute.target.umount(||deviceusb4	(4
deviceList		$	(4disks	$	device	SCR::Read.probe.disk	SCR::Read
.probe.usb,
foreachm		(&&usb	busUSBSCSI/
(haskeydev_name4idev		$$	dev_name&			add			substring		*	&+&+				dev_name		
sformat		
%1(	SCR::Read
.target.lstat
&			add			substring		||	SCR::Read
.target.lstat
,	
y2milestone	
devices to look on: %14	)"	SCR::Read.target.dir+			/dev/4"l		,#	
y2milestone	
nested device found$$			splitstring			/&%+			+			/	&&		remove&'			mergestring			/,(	
y2milestone	
Host=%1 Path=%2&+,-		foreachHost		mounts	
mount_list	already_mounted	
,.	
y2milestone	
looking for profile on %1$/		SCR::Read.target.string/proc/mounts$0			splitstring			
$1,2		foreachm		entries		$3			splitstring			 (4	+			/dev/44	&5&6	.7,:	
y2milestone	
 already mounted=%1 mountpoint=%2(;&&!!WFM::Execute.local.mount		
sformat		
/dev/%14=	,>	
y2milestone	
"%1 is not mounted and mount failed		
sformat		
/dev/%1&?		
sformat		
"%1 is not mounted and mount failedautoinst		
sformat		
/dev/%1/@(CWFM::Execute.local.bash+			+			+			+			+			/bin/cp / 4D	&F		
sformat		
File %1 cannot be foundautoinst+			,G	
y2milestone	
file %1 can't be found+			4J	&K&L,M	
y2milestone	
found(O!,PWFM::Execute
.local.umount(Q.R(Vtftp4W	(X4Y	&Z&[4^	&_		
sformat		
'Cannot find URL '%1' via protocol TFTP.autoinst+			+			:,`	
y2error	
file %1 can't be found4d	&f		
sformat		
Unknown protocol %1.autoinst,g	
y2error	
Protocol not supported&h-j%qurl	target		toks	&s	$t-u	scheme	host	path2AutoinstScripts.ycp$	$	$ 	$#	$&	$*	$-%3&5%<->%Gresult$Jmaplistp&Laddtypepre-scripts-M&Ounionmaplistp&Qaddtypepost-scripts-R&Uunionmaplistp&Waddtypechroot-scripts-X&[unionmaplistp&]addtypeinit-scripts-^&aunionmaplistp&caddtypepostpartitioning-scripts-d-g%n(p!4q&r%{expreexpostexchrootexinit
expostpartresult	&}	&~	&	&	&	,	
y2milestone	
	Merged %1,foreachs(	typepre-scripts&add(	typepost-scripts&add(	typeinit-scripts&add(	typechroot-scripts&add(	typepostpartitioning-scripts&add$		maplistpfilename	filenameinterpreter	interpretersource	sourcenotification	notificationlocation	locationfeedbackfeedback
feedback_type	
feedback_typedebugdebug$		maplistp	filename	filenameinterpreter	interpretersource	sourcelocation	locationnotification	notificationfeedbackfeedback
feedback_type	
feedback_typedebugdebugnetwork_needednetwork_needed$		maplistp	filename	filenameinterpreter	interpretersource	sourcechrootedchrootednotification	notificationlocation	locationfeedbackfeedback
feedback_type	
feedback_typedebugdebug$		maplistpfilename	filenamesource	sourcelocation	locationdebugdebug$		maplistpfilename	filenameinterpreter	interpretersource	sourcelocation	locationnotification	notificationfeedbackfeedback
feedback_type	
feedback_typedebugdebug$
(size'pre-scripts(size'post-scripts(size'chroot-scripts(size'init-scripts(size'postpartitioning-scripts-% &maplistscript(		issubstring			location	relurl://4l	newloc	$	location&			substring			$(relurl4tok,	
y2milestone	
autoyast profile was relurl too&		SCR::Read.etc.install_inf.ayrelurl$	,	
y2milestone	
tok = %1&+			+			+			+			+				scheme://	host/	path4&+			+			+			+			+			:///'location,	
y2milestone	
changed relurl to %1 for script--%!,	
y2debug	
!Calling AutoinstScripts::Import()&pre-scripts	&init-scripts	&post-scripts	&chroot-scripts	&postpartitioning-scripts	& & & & & &,		
y2debug	

merged: %1-
%"summary	$&Preinstallation Scriptsautoinst(size4&,foreachscript&	filename&4&&!Postinstallation Scriptsautoinst("size4#&$,%foreachscript&&	filename&(4+&,&.Chroot Scriptsautoinst(/size40&1,2foreachscript&3	filename&548&9&;Init Scriptsautoinst(<size4=&>,?foreachscript&@	filename&B4E&F&HPostpartitioning Scriptsautoinst(Isize4J&K,Lforeachscript&M	filename&O4R&S-U%]#clean$_filters	filename&`-a%l$mod$y&zmaplistscript(|	filename4}	oldScript$~
&addfilename&addsource&addinterpreter&addtype&addchrooted&adddebug&addfeedback&addnetwork_needed&add
feedback_type&addlocation	&addnotification
&-4-(!4script
$
&addfilename&addsource&addinterpreter&addtype&addchrooted&adddebug&addfeedback&addnetwork_needed&add
feedback_type&addlocation	&addnotification
&add,	
y2debug	
Merged scripts: %1-%%(pre-scripts4-Preautoinst(post-scripts4-Postautoinst(init-scripts4-Initautoinst(chroot-scripts4-Chrootautoinst(postpartitioning-scripts4-Postpartitioningautoinst-Unknownautoinst%&s	l	ret		$			splitstring			|$
&		remove,		foreachelement	p	$			splitstring			='		-%'shell	debug	
scriptPath	current_logdir	
scriptName	datawidget	execute	run	ok_buttonvboxbuffer	$
$,SCR::Execute.target.remove
/tmp/ay_opipe,SCR::Execute.target.remove
/tmp/ay_ipipe,SCR::Execute.target.bashmkfifo -m 660 /tmp/ay_opipe
,SCR::Execute.target.bashmkfifo -m 660 /tmp/ay_ipipe
$		
sformat		
%1 %2 %3 2&> %4/%5.log ,SCR::Execute.target.bash_background+			(OPIPE=/tmp/ay_opipe IPIPE=/tmp/ay_ipipe 
$$$VBox$	)&&	SCR::Read
.target.lstat
/tmp/ay_opipe
4&SCR::Execute.target.bash_outputcat /tmp/ay_opipe
&			splitstring				stdout
)	4line	$	&		remove(	size	/'stdout,	
y2milestone	
working on line %1(			substring			stdout__EXIT__4(radiobutton4&add
PushButtonidok,RadioButtonGroupidrb(4ret,idokEnabled$(radiobutton4val$idrb
CurrentButton,SCR::Execute.target.bash		
sformat		
echo "%1" > /tmp/ay_ipipe	
(entry4val$iday_entryValue,SCR::Execute.target.bash		
sformat		
echo "%1" > /tmp/ay_ipipe	
&&VBox(&,&(			substring			stdout__PROGRESS__4params		$&	stdout,	VBoxProgressBaridprlabel		tointegermax100	&progressbar(
			substring			stdout__TEXT__4
params		hspacevspace	$&	stdout$	tointegerwidth10	$	tointegerheight20	&haskeyokbutton&VBoxHSpacingHBoxVSpacingRichTextidmle(&add
PushButtonidok,(,idokEnabled&text(			substring			stdout		__ENTRY__4params		$&	stdout(haskeydescription4&addHSpacing(&addRichTextdescription	&add	TextEntryiday_entrylabel	default	& add
PushButtonidok,!&"entry&#($			substring			stdout__RADIOBUTTON__4$params		$%&	stdout(&haskeydescription4&&'addHSpacing<&(addRichTextdescription	&*radiobutton&+4,(-progressbar4-,.idprValue	tointeger	stdout0(/text4/,0idmleValue+				idmleValue	stdout(1radiobutton41(2			substring			stdout

__BUTTON__42params		$3&	stdout&4addLeftRadioButtonidval	label	45,6	
y2milestone	
H*urgs* received '%1' instead of '__BUTTON__' during RADIOBUTTON creation	stdout,<SCR::Execute.target.remove
/tmp/ay_opipe,=SCR::Execute.target.remove
/tmp/ay_ipipe%G(scriptstmpdirString	current_logdir	(I!-J$L	(Mpre-scripts4N&O(Qinit-scripts4R&S(U&&chroot-scripts!4V&Wfilters!chrooted(Y&&chroot-scripts4Z&[filterschrooted(]&&post-scripts!4^&_filters!network_needed(a&&post-scripts4b&cfiltersnetwork_needed(epostpartitioning-scripts4f&g4j,k	
y2error	
Unsupported script type-l$p$q(s||pre-scriptspostpartitioning-scripts4t&u		
sformat		
%1/%2,vSCR::Execute
.target.mkdir&x		
sformat		
%1/logs,ySCR::Execute
.target.mkdir({chroot-scripts4|(}!4}&~		
sformat		
%1%2,SCR::Execute
.target.mkdir&		
sformat		
%1%2,SCR::Execute
.target.mkdir4&		
sformat		
%1,SCR::Execute
.target.mkdir&		
sformat		
%1,SCR::Execute
.target.mkdir4&,foreachsscriptInterpreter	
scriptName	
scriptPath	$	interpretershell$	filename(4t$		location&	path(&$(||pre-scriptspostpartitioning-scripts4&		
sformat		
%1/%2/%3,	
y2milestone	
Writing %1 script into %2(	location4,	
y2debug	
getting script: %1	location(!	location4,	
y2error	
 script %1 could not be retrieved	location4,
SCR::Write.target.string	sourceecho Empty script!(init-scripts4&		
sformat		
%1/%2,	
y2milestone	
Writing init script into %1(	location4,	
y2debug	
getting script: %1	location(!	location4,	
y2error	
 script %1 could not be retrieved	location4,
SCR::Write.target.string	sourceecho Empty script!,
autoyast(chroot-scripts4toks$		location(||	schemenfs!4&		
sformat		
%1%2/%34&		
sformat		
%1/%2,	
y2milestone	
Writing chroot script into %1(	location4(!	location4,	
y2error	
 script %1 could not be retrieved	location4,
SCR::Write.target.string	sourceecho Empty script!(&&	schemenfs4&			substring		4&		
sformat		
%1/%2,	
y2milestone	
Writing  script into %1(	location4(!	location4,	
y2error	
 script %1 could not be retrieved	location4,
SCR::Write.target.string	sourceecho Empty script!(init-scripts4executionString	showFeedbackfeedback	$$feedback(	notification,	notification(shell4debug	$debug-x(||	SCR::Read.target.size+			-runrerun4(interactive4,'/bin/sh4&		
sformat		
/bin/sh %1 %2 2&> %3/%4.log ,	
y2milestone	
Script Execution command: %1,SCR::Execute.target.bash,SCR::Execute.target.bash/bin/touch $FILEFILE+			-run(perl4debug	$debug-w(||	SCR::Read.target.size+			-runrerun4(interactive4,	'
/usr/bin/perl4
&		
sformat		
"/usr/bin/perl %1 %2 2&> %3/%4.log ,	
y2milestone	
Script Execution command: %1,
SCR::Execute.target.bash,SCR::Execute.target.bash/bin/touch $FILEFILE+			-run(python4(||	SCR::Read.target.size+			-runrerun4(interactive4,'/usr/bin/python4&		
sformat		
!/usr/bin/python %1 2&> %2/%3.log ,	
y2milestone	
Script Execution command: %1,SCR::Execute.target.bash,SCR::Execute.target.bash/bin/touch $FILEFILE+			-run4 ,!	
y2error	
Unknown interpreter: %1$#(%	notification,&((4(()4)&*		SCR::Read.target.string+			+			+			/.log(,	size	4,(-	
feedback_type4-,.RichTextopt	plainText2(/	
feedback_typemessage4/,0
(1	
feedback_typewarning41,2
(3	
feedback_typeerror43,4
-;

ACC SHELL 2018