ACC SHELL

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

YaST bytecode 1.4.0ProfileLocationProfileLocation.ycpAutoinstConfigAutoInstallRulesStorageDevicesModeInstallationPopupLabelURL	 autoinstall/autoinst_dialogs.ycp
StorageProfileSourceDialog		DiskSelectionDialog	
autoinstall/io.ycpFTPHTTPTFTP	GET_error	basename		dirname		Get				GetURL		ProfileLocationProcess		

)"3UI	UserInput
OpenDialogCloseDialogQueryWidget

3WFMReadExecute3SCRReadWriteExecute3WFMReadExecute3SCRReadWriteExecute3UI	UserInput
OpenDialogCloseDialogQueryWidget

0autoinst3
AutoinstConfig
filepath	remote_rules_location	xml_tmpfile	local_rules_location	local_rules_file	urltokscheme	host		directory	ShellEscape		3AutoInstallRulesRead	userrulesGetRulesProcess	
CreateDefault
CreateFile	3StorageDevicesFloppyReadyFloppyDevice	3Mode3Installation	sourcedir	mountlog	boot	3PopupError	ConfirmAbort
Message	3LabelAbortButton	OKButton	RetryButton	3URLParse	Build	1 autoinstall/autoinst_dialogs.ycp0autoinst3
StorageGetTargetMap	GetPartMode	GetPartDisk	
IsRealDisk%original		helptext	title	uri		$r<p>
A profile for this machine could not be found or retrieved.
Check that you entered the correct location
on the command line and try again. Because of this error, you
can only enter a URL to a profile and not to a directory. If you
are using rules or host name-based control files, restart the
installation process and make sure the control files are accessible.</p>
autoinst$System Profile Locationautoinst, 
opt	decoratedHBoxHWeight2RichTextHStretchHSpacingHWeight2VBoxHeadingVSpacingVStretchLeft	TextEntryiduri&Profile Location:autoinstVSpacingVStretchHBox
PushButtonidretryoptdefault

PushButtonidabort
$6)747ret
	$8
(:&&abortpainless4;	.<(>retry4?	&@	iduriValue(A/B.D,H-I%Rtm	contents	help_text	buttonsask_device_dialogretoption		
,T	
y2milestone	
Selecting disk manually....$U$VDummy(Xsize4Y	buttonboxi	$ZVBox$\,]		foreachtname	tdata		(_4`	tlinename	tline	sel	$a	name?$b+			+			+		&+:    $c&&CUSTOM&eaddLeftRadioButtonid&g+&kaddVSpacing0.8&sFrameChoose a hard diskautoinstRadioButtonGroupidoptionsVBoxVSpacing0.4HSquashVSpacing0.44}	&LabelNo disks found.autoinst$<p>
All hard disks automatically detected on your system
are shown here. Select the hard disk on which to install &product;.
</p>autoinst$HBox
PushButtonidokoptdefault

PushButtonidabort
$HBoxVSpacingVBoxHSpacingRichTextHSpacingVBoxVSpacingHeadingHard Disk SelectionautoinstVStretchHSpacing,
opt	decorated$$+	&,	
y2milestone	
ret=%1(ok4	&	idoptions
CurrentButton,	
y2milestone	
selected disk: %1(4	,&Select one of the options to continue.autoinst&||okabort,-2ProfileLocation.ycp1autoinstall/io.ycp0
autoinst3FTPGet		3HTTPGet		easySSL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	path2ProfileLocation.ycp%-!%)okret	localfile	is_directoryfilename	mkdir
process_rulestry_default_rules$+$,,.	
y2milestone	
Path to remote control file: %1$0$2(4relurl44&8		SCR::Read.etc.install_inf.InstMode(9||||hdharddiskdisk49part	$:		SCR::Read.etc.install_inf.Partition&;device&<&=+			+					SCR::Read.etc.install_inf.Serverdir/4>(?||cdcdrom4?&@file(B	size	4B&C+			+			+			+					SCR::Read.etc.install_inf.Serverdir//4D&E+			+					SCR::Read.etc.install_inf.Serverdir/(G		SCR::Read.etc.install_inf.Server4G&H		SCR::Read.etc.install_inf.Server,L	
y2milestone	
(relurl for profile changed to: %1://%2%3,M
SCR::Write.etc.install_inf.ayrelurl		
sformat		

%1://%2/%3,N
SCR::Write.etc.install_inf(Olabel4O,P	
y2milestone	
searching label,Q		foreachdevice	v,R	
y2milestone	

looking on %1(S	label4S&Tdevice&U			substring		,V	
y2milestone	
found on %1.W,Yforeachp
partitions	(Z	label4Z&[device&\			substring			device,]	
y2milestone	
found on %1.^,`	
y2milestone	
not found on %1	devicehm?(bdevice.c(elabel,f2label not found while looking for autoyast profileautoinst$h(k4ltmp	l	,m	
y2milestone	
File=%1,n	
y2milestone	
Get %1://%2/%3 to %4&o(t!4uerror	$w.An error occurred while fetching the profile:
autoinst,x+			-y${		SCR::Read.target.string$|			splitstring			
)}&&	-----BEGIN PGP MESSAGE-----4}p	button,~	
y2milestone	
encrypted profile found,VBoxLabel>Encrypted AutoYaST profile. Please enter the correct password.autoinstPasswordidpassword
PushButtonidok&OKautoinst$$+&&	idpasswordValueok,,SCR::Execute.target.bash		
sformat		
=gpg2 --batch --output "/tmp/decrypt.xml" --passphrase "%1" %2(	SCR::Read.target.size/tmp/decrypt.xml4,SCR::Execute.target.bash		
sformat		
mv /tmp/decrypt.xml %1,	
y2milestone	
,decrypted. Moving now /tmp/decrypt.xml to %1&		SCR::Read.target.string&			splitstring			
4&&,	
y2milestone	
Dir=%1,	
y2milestone	
Fetching Rules File$SCR::Execute
.target.mkdir(!4,	
y2error	
Error creating directory: %1(4&+			+			/4&(4&4&,SCR::Execute.target.remove$$(4,	
y2milestone	
Reading Rules File,&(!4&4&(4,	
y2milestone	
Creating default Rules(4,4,&(!4-(4rulesret$,	
y2milestone	
rulesret=%1--

ACC SHELL 2018