From 299eb137e19d6f2ccb7456d93523e98971d5289c Mon Sep 17 00:00:00 2001 From: absurddream Date: Wed, 24 Jan 2024 14:15:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Econtrolfile/result/webservice?= =?UTF-8?q?=E7=9B=AE=E5=BD=95=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controlfile/result/webservice/MAC.ini | 33 + .../controlfile/result/webservice/dhcpip | 1 + .../result/webservice/livecd/readme.txt | 2 + .../controlfile/result/webservice/menu.ipxe | 28 + .../webservice/osInstall/bond/pim_bond0.sh | 5 + .../webservice/osInstall/bond/pim_bond1.sh | 5 + .../webservice/osInstall/bond/pim_bond2.sh | 5 + .../webservice/osInstall/bond/pim_bond3.sh | 5 + .../webservice/osInstall/bond/pim_bond4.sh | 5 + .../webservice/osInstall/bond/pim_bond5.sh | 5 + .../webservice/osInstall/bond/pim_bond6.sh | 5 + .../webservice/osInstall/ks/esxi/esxiks.cfg | 44 + .../osInstall/ks/esxi/esxiks_example.cfg | 26 + .../result/webservice/osInstall/ks/ks.cfg | 74 + .../webservice/osInstall/ks/ks_example.cfg | 89 ++ .../osInstall/ks/kylin/kylin_example.cfg | 89 ++ .../webservice/osInstall/ks/kylin/kylinks.cfg | 73 + .../webservice/osInstall/ks/suse/autoinst.xml | 1288 +++++++++++++++ .../osInstall/ks/suse/autoinst_example.xml | 1378 ++++++++++++++++ .../osInstall/ks/suse15/autoinst.xml | 1367 ++++++++++++++++ .../osInstall/ks/suse15/autoinst_example.xml | 1384 +++++++++++++++++ .../ks/windows/sn-example/autounattend.xml | 137 ++ .../ks/windows/sn-example/install.bat | 25 + .../webservice/osInstall/mount/readme.txt | 0 .../controlfile/result/webservice/webserverip | 1 + 25 files changed, 6074 insertions(+) create mode 100644 InManageBoot-installer/controlfile/result/webservice/MAC.ini create mode 100644 InManageBoot-installer/controlfile/result/webservice/dhcpip create mode 100644 InManageBoot-installer/controlfile/result/webservice/livecd/readme.txt create mode 100644 InManageBoot-installer/controlfile/result/webservice/menu.ipxe create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond0.sh create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond1.sh create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond2.sh create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond3.sh create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond4.sh create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond5.sh create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond6.sh create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/ks/esxi/esxiks.cfg create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/ks/esxi/esxiks_example.cfg create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/ks/ks.cfg create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/ks/ks_example.cfg create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/ks/kylin/kylin_example.cfg create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/ks/kylin/kylinks.cfg create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse/autoinst.xml create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse/autoinst_example.xml create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse15/autoinst.xml create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse15/autoinst_example.xml create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/ks/windows/sn-example/autounattend.xml create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/ks/windows/sn-example/install.bat create mode 100644 InManageBoot-installer/controlfile/result/webservice/osInstall/mount/readme.txt create mode 100644 InManageBoot-installer/controlfile/result/webservice/webserverip diff --git a/InManageBoot-installer/controlfile/result/webservice/MAC.ini b/InManageBoot-installer/controlfile/result/webservice/MAC.ini new file mode 100644 index 0000000..c7fd28c --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/MAC.ini @@ -0,0 +1,33 @@ +#!ipxe +set filepath http://192.168.1.2:16000/ +set bootfilepath ${filepath}/livecd +goto ${netX/mac} || goto IBOOTCLIENT + +:IBOOTCLIENT + iseq ${platform} efi && goto is_efi || goto not_efi +:is_efi + set base http://192.168.1.2:16000/livecd + initrd ${base}/initrd.img + chain ${base}/vmlinuz initrd=initrd.img root=live:${base}/squashfs.img + +:not_efi + set base http://192.168.1.2:16000/livecd + kernel ${base}/vmlinuz root=live:${base}/squashfs.img + initrd ${base}/initrd.img + boot + + + + + + + + + + + + + + + + diff --git a/InManageBoot-installer/controlfile/result/webservice/dhcpip b/InManageBoot-installer/controlfile/result/webservice/dhcpip new file mode 100644 index 0000000..2e6b2fe --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/dhcpip @@ -0,0 +1 @@ +192.168.1.2 \ No newline at end of file diff --git a/InManageBoot-installer/controlfile/result/webservice/livecd/readme.txt b/InManageBoot-installer/controlfile/result/webservice/livecd/readme.txt new file mode 100644 index 0000000..92383d6 --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/livecd/readme.txt @@ -0,0 +1,2 @@ +存放Iboot内存OS +此处在安装时,通过livecd解压出三个文件 \ No newline at end of file diff --git a/InManageBoot-installer/controlfile/result/webservice/menu.ipxe b/InManageBoot-installer/controlfile/result/webservice/menu.ipxe new file mode 100644 index 0000000..a73916e --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/menu.ipxe @@ -0,0 +1,28 @@ +#!ipxe + set menu-default IBOOTCLIENT + isset ${ip} || dhcp +route + + +:start + menu IBOOT CLIENT Menu + item --gap -- -------------------------------- BOOT -------------------------------- + item IBOOTCLIENT IBOOT CLIENT LIVECD + item --gap -- ---------------------------- Advanced options ------------------------ + item --key r reboot reboot computer -- r + item --key x exit Exit iPXE and continue BIOS boot -- x + choose --timeout 3000 --default ${menu-default} selected + goto ${selected} + +:reboot + reboot + +:exit + exit + +:IBOOTCLIENT + chain http://192.168.1.2:16000/MAC.ini + + + + diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond0.sh b/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond0.sh new file mode 100644 index 0000000..b5ca30c --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond0.sh @@ -0,0 +1,5 @@ +nmcli con add type bond con-name $name ifname bond0 mode balance-rr +# nmcli con del eth0 +# nmcli con add type bond-slave ifname eth0 master $name +nmcli con modify $name ipv4.address $ip4 ipv4.gateway $gw4 ipv4.method manual +nmcli con up $name \ No newline at end of file diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond1.sh b/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond1.sh new file mode 100644 index 0000000..ee01b67 --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond1.sh @@ -0,0 +1,5 @@ +nmcli con add type bond con-name $name ifname bond1 mode active-backup +# nmcli con del eth0 +# nmcli con add type bond-slave ifname eth0 master $name +nmcli con modify $name ipv4.address $ip4 ipv4.gateway $gw4 ipv4.method manual +nmcli con up $name \ No newline at end of file diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond2.sh b/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond2.sh new file mode 100644 index 0000000..7641a73 --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond2.sh @@ -0,0 +1,5 @@ +nmcli con add type bond con-name $name ifname bond2 mode balance-xor +# nmcli con del eth0 +# nmcli con add type bond-slave ifname eth0 master $name +nmcli con modify $name ipv4.address $ip4 ipv4.gateway $gw4 ipv4.method manual +nmcli con up $name \ No newline at end of file diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond3.sh b/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond3.sh new file mode 100644 index 0000000..5f015a5 --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond3.sh @@ -0,0 +1,5 @@ +nmcli con add type bond con-name $name ifname bond3 mode broadcast +# nmcli con del eth0 +# nmcli con add type bond-slave ifname eth0 master $name +nmcli con modify $name ipv4.address $ip4 ipv4.gateway $gw4 ipv4.method manual +nmcli con up $name \ No newline at end of file diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond4.sh b/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond4.sh new file mode 100644 index 0000000..a03ae44 --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond4.sh @@ -0,0 +1,5 @@ +nmcli con add type bond con-name $name ifname bond4 mode 802.3ad +# nmcli con del eth0 +# nmcli con add type bond-slave ifname eth0 master $name +nmcli con modify $name ipv4.address $ip4 ipv4.gateway $gw4 ipv4.method manual +nmcli con up $name \ No newline at end of file diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond5.sh b/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond5.sh new file mode 100644 index 0000000..5b0f576 --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond5.sh @@ -0,0 +1,5 @@ +nmcli con add type bond con-name $name ifname bond5 mode balance-tlb +# nmcli con del eth0 +# nmcli con add type bond-slave ifname eth0 master $name +nmcli con modify $name ipv4.address $ip4 ipv4.gateway $gw4 ipv4.method manual +nmcli con up $name \ No newline at end of file diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond6.sh b/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond6.sh new file mode 100644 index 0000000..b5c862c --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/bond/pim_bond6.sh @@ -0,0 +1,5 @@ +nmcli con add type bond con-name $name ifname bond6 mode balance-alb +# nmcli con del eth0 +# nmcli con add type bond-slave ifname eth0 master $name +nmcli con modify $name ipv4.address $ip4 ipv4.gateway $gw4 ipv4.method manual +nmcli con up $name \ No newline at end of file diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/esxi/esxiks.cfg b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/esxi/esxiks.cfg new file mode 100644 index 0000000..5385ed9 --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/esxi/esxiks.cfg @@ -0,0 +1,44 @@ +# +# Sample scripted installation file +# + +# Accept the VMware End User License Agreement +vmaccepteula + +# Set the root password for the DCUI and Tech Support Mode +rootpw 123456a? + +# The install media is in the remote image + +# 此示例为自动分区规范,适用于ESXI等操作系统 +# This is a example of disk auto partition for ESXI + +#clearpartition +#clearpart --firstdisk=local --overwritevmfs +#install --firstdisk=local --overwritevmfs + +diskPartition + +# Set the network to DHCP on the first network adapter +network --bootproto=dhcp + +reboot + + +%pre --interpreter=python +@pre + +%firstboot --interpreter=busybox +@post1 + +%firstboot --interpreter=python +@post2 + + + + + + + + + diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/esxi/esxiks_example.cfg b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/esxi/esxiks_example.cfg new file mode 100644 index 0000000..b0eed55 --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/esxi/esxiks_example.cfg @@ -0,0 +1,26 @@ +# +# Sample scripted installation file +# 此示例为默认自动引导配置,适用于ESXI操作系统 +# + +# Accept the VMware End User License Agreement +# 跳过自定义设置 +vmaccepteula + +# Set the root password for the DCUI and Tech Support Mode +# root用户密码设置 +rootpw 123456a? + +# The install media is in the CD-ROM drive +# 分区设置 +#clearpart --firstdisk=local --overwritevmfs +#install --firstdisk=local --overwritevmfs + +# Set the network to DHCP on the first network adapter +# 网络设置 +network --bootproto=dhcp + +reboot + + + diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/ks.cfg b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/ks.cfg new file mode 100644 index 0000000..4cc9e97 --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/ks.cfg @@ -0,0 +1,74 @@ + +%pre +#!/bin/bash +curl -k --location -g --request POST 'http://@ip:30100/v1/iboot/taskLogAccept' --header 'Content-Type:application/json' -d '{"content":"'os#install#start'","jobHostId":"'@jobHostId'"}' +@hostname +%end + +# System authorization information +auth --enableshadow --passalgo=sha512 + +# Use remote installation media +url --url=@path + +# Use graphical install +graphical + +# Run the Setup Agent on first boot +firstboot --disable + +# System language +lang zh_CN + +# keyboard us +keyboard --vckeymap=us --xlayouts='us' + +# Network information eth0 +%include /tmp/net-include +#network --bootproto=static --device=eth0 --gateway=100.7.47.254 --ip=100.7.37.57 --netmask=255.255.240.0 --activate +#network --bootproto=static --device=eth1 --ip=192.168.100.2 --netmask=255.255.255.0 --nameserver= --activate +#network --hostname=ispimos +#network --bootproto static + +eula --agreed + +# Root password +rootpw 123456a? + +# System timezone +timezone Asia/Shanghai --isUtc --nontp + + +# System bootloader configuration +bootloader --location=mbr + +diskPartition +#clearpart --all --initlabel +#part swap --fstype=swap --size=16384 +#part /boot --fstype=ext4 --size=500 +#part /boot/efi --fstype=efi --size=256 +#part / --fstype=ext4 --size=1 --grow + +reboot --eject +#eula --agreed +#shutdown + +%packages +@^baseE +@core +@base +firewalld +%end + +%post --log=/root/ks-post.log +cat >> /etc/rc.local <<'EOF' +@bond +>/etc/rc.local +EOF +chmod +x /etc/rc.local +curl -k --location -g --request POST 'http://@ip:30100/v1/iboot/taskLogAccept' --header 'Content-Type:application/json' -d '{"content":"'os#install#success'","jobHostId":"'@jobHostId'"}' +curl -k --location -g --request POST 'http://@ip:30100/v1/iboot/taskStatusChange' --header 'Content-Type:application/json' --data '{"jobHostStatus":"'SUCCESS'","id":"'@jobHostId'"}' +%end + +%addon com_redhat_kdump --enable --reserve-mb='auto' +%end diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/ks_example.cfg b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/ks_example.cfg new file mode 100644 index 0000000..8ab6f48 --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/ks_example.cfg @@ -0,0 +1,89 @@ +#此示例为默认自动引导配置,适用于CentOS/RHEL/Kylin等操作系统 + +#前置脚本 +%pre +#please add pre script at here +#请把前置脚本添加在这个地方 +%end + +#此示例为默认自动引导配置,适用于CentOS/RHEL/Kylin等操作系统 + +# 系统认证设置 +# System authorization information +auth --enableshadow --passalgo=sha512 + +#使用远程安装 +# Use remote installation media +url --url=@path + +#安装过程是否图形化 +# Use graphical install +graphical + +#第一次启动是否使用引导 +# Run the Setup Agent on first boot +firstboot --disable + +#系统语言设置 +# System language +lang zh_CN + +#键盘布局设置 +# keyboard us +keyboard --vckeymap=us --xlayouts='us' + +#网络设置 +# Network information eth0 +#network --bootproto=static --device=eth0 --gateway=100.7.47.254 --ip=100.7.37.57 --netmask=255.255.240.0 --activate +#network --bootproto=static --device=eth1 --ip=192.168.100.2 --netmask=255.255.255.0 --nameserver= --activate +#network --hostname=ispimos +#network --bootproto static + +#是否默认勾选许可协议 +eula --agreed + + +#root 密码设置 +# Root password +rootpw 123456a? + +#时区设置 +# System timezone +timezone Asia/Shanghai --isUtc --nontp + + +#分区引导设置 +# System bootloader configuration +bootloader --location=mbr + +#分区设置 +#clearpart --all --initlabel +#part swap --fstype=swap --size=16384 +#part /boot --fstype=ext4 --size=500 +#part /boot/efi --fstype=efi --size=256 +#part / --fstype=ext4 --size=1 --grow + +#重启设置 +reboot --eject +#eula --agreed +#shutdown + +#安装环境和工具设置 +%packages +@^baseE +@core +@base +firewalld +%end + +#此示例为默认自动引导配置,适用于CentOS/RHEL/Kylin等操作系统 + +#后置脚本设置 +%post --log=/root/ks-post.log +#please add post script at here +#请把后置脚本添加在这个地方 +%end + +#是否启用kdump +%addon com_redhat_kdump --enable --reserve-mb='auto' +%end diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/kylin/kylin_example.cfg b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/kylin/kylin_example.cfg new file mode 100644 index 0000000..20dfb61 --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/kylin/kylin_example.cfg @@ -0,0 +1,89 @@ +#此示例为默认自动引导配置,适用于CentOS/RHEL/Kylin等操作系统 + +#前置脚本 +%pre +#please add pre script at here +#请把前置脚本添加在这个地方 +%end + +#此示例为默认自动引导配置,适用于CentOS/RHEL/Kylin等操作系统 + +# 系统认证设置 +# System authorization information +auth --enableshadow --passalgo=sha512 + +#使用远程安装 +# Use remote installation media +url --url=@path + +#安装过程是否图形化 +# Use graphical install +graphical + +#第一次启动是否使用引导 +# Run the Setup Agent on first boot +firstboot --disable + +#系统语言设置 +# System language +lang zh_CN + +#键盘布局设置 +# keyboard us +keyboard --vckeymap=us --xlayouts='us' + +#网络设置 +# Network information eth0 +#network --bootproto=static --device=eth0 --gateway=100.7.47.254 --ip=100.7.37.57 --netmask=255.255.240.0 --activate +#network --bootproto=static --device=eth1 --ip=192.168.100.2 --netmask=255.255.255.0 --nameserver= --activate +#network --hostname=ispimos +#network --bootproto static + +#是否默认勾选许可协议 +eula --agreed + + +#root 密码设置 +# Root password +rootpw 123456a? + +#时区设置 +# System timezone +timezone Asia/Shanghai --isUtc --nontp + + +#分区引导设置 +# System bootloader configuration +bootloader --location=mbr + +#分区设置 +#clearpart --all --initlabel +#part swap --fstype=swap --size=16384 +#part /boot --fstype=ext4 --size=500 +#part /boot/efi --fstype=efi --size=256 +#part / --fstype=ext4 --size=1 --grow + +#重启设置 +reboot --eject +#eula --agreed +#shutdown + +#安装环境和工具设置 +%packages +@^baseE +@core +@base +firewalld +%end + +#此示例为默认自动引导配置,适用于CentOS/RHEL/Kylin等操作系统 + +#后置脚本设置 +%post --log=/root/ks-post.log +#please add post script at here +#请把后置脚本添加在这个地方 +%end + +#是否启用kdump +%addon com_redhat_kdump --enable +%end diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/kylin/kylinks.cfg b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/kylin/kylinks.cfg new file mode 100644 index 0000000..5e5e162 --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/kylin/kylinks.cfg @@ -0,0 +1,73 @@ + +%pre +#!/bin/bash +curl -k --location -g --request POST 'http://@ip:30100/v1/iboot/taskLogAccept' --header 'Content-Type:application/json' -d '{"content":"'os#install#start'","jobHostId":"'@jobHostId'"}' +@hostname +%end + +# System authorization information +auth --enableshadow --passalgo=sha512 + +# Use remote installation media +url --url=@path + +# Use graphical install +graphical + +# Run the Setup Agent on first boot +firstboot --disable + +# System language +lang zh_CN + +# keyboard us +keyboard --vckeymap=us --xlayouts='us' + +# Network information eth0 +%include /tmp/net-include +#network --bootproto=static --device=eth0 --gateway=100.7.47.254 --ip=100.7.37.57 --netmask=255.255.240.0 --activate +#network --bootproto=static --device=eth1 --ip=192.168.100.2 --netmask=255.255.255.0 --nameserver= --activate +#network --hostname=ispimos +#network --bootproto static + +eula --agreed + +# Root password +rootpw 123456a? + +# System timezone +timezone Asia/Shanghai --isUtc --nontp + + +# System bootloader configuration +bootloader --location=mbr + +diskPartition +#clearpart --all --initlabel +#part swap --fstype=swap --size=16384 +#part /boot --fstype=ext4 --size=500 +#part /boot/efi --fstype=efi --size=256 +#part / --fstype=ext4 --size=1 --grow + +reboot --eject +#eula --agreed +#shutdown + +%packages +@^baseE +@core +@base +firewalld +%end + +%post --log=/root/ks-post.log +cat >> /etc/rc.local <<'EOF' +>/etc/rc.local +EOF +chmod +x /etc/rc.local +curl -k --location -g --request POST 'http://@ip:30100/v1/iboot/taskLogAccept' --header 'Content-Type:application/json' -d '{"content":"'os#install#success'","jobHostId":"'@jobHostId'"}' +curl -k --location -g --request POST 'http://@ip:30100/v1/iboot/taskStatusChange' --header 'Content-Type:application/json' --data '{"jobHostStatus":"'SUCCESS'","id":"'@jobHostId'"}' +%end + +%addon com_redhat_kdump --enable +%end diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse/autoinst.xml b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse/autoinst.xml new file mode 100644 index 0000000..4ea7214 --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse/autoinst.xml @@ -0,0 +1,1288 @@ + + + + + + + + + SUSE Linux Enterprise Server + 2 + true + off + 80 + + + + ahci + + + mptspi + + + ata_piix + + + ata_generic + + + default + + + YaST_Default_CA + YaST Default CA (linux-siic) + CN + + + + ENTER PASSWORD HERE + linux-siic.suse + postmaster@suse + + false + + + false + + + no + no + no + no + + + + + + + + + no + yes + no + no + + no + yes + no + yes + no + no + no + + + + + + + + + + + + + + + + + + + no + true + true + + + + + false + + + + true + true + true + true + false + true + + + + + + true + 100 + x + users + + + + true + 25 + x + at + + + + true + 62 + x + man + + + + true + 9 + x + kmem + + + + true + 489 + x + scard + + + + true + 482 + x + adm + + + + true + 16 + x + dialout + + + + true + 5 + x + tty + + + + true + 20 + x + cdrom + + + + true + 496 + x + input + + + + true + 487 + x + brlapi + + + + true + 488 + x + rtkit + + + + true + 494 + x + nscd + + + + true + 3 + x + sys + + + + true + 17 + x + audio + + + + true + 7 + x + lp + + + + true + 59 + x + maildrop + postfix + + + true + 10 + x + wheel + + + + true + 497 + x + tape + + + + true + 493 + x + systemd-journal + + + + true + 54 + x + lock + + + + true + 0 + x + root + + + + true + 492 + x + systemd-timesync + + + + true + 491 + x + kvm + + + + true + 71 + x + ntadmin + + + + true + 15 + x + shadow + vnc + + + true + 484 + x + vnc + + + + true + 499 + x + messagebus + + + + true + 41 + x + xok + + + + true + 486 + x + pulse + + + + true + 65534 + x + nogroup + nobody + + + true + 495 + x + polkitd + + + + true + 483 + x + gdm + + + + true + 490 + x + ntp + + + + true + 21 + x + console + + + + true + 2 + x + daemon + + + + true + 33 + x + video + gdm + + + true + 498 + x + sshd + + + + true + 19 + x + floppy + + + + true + 8 + x + www + + + + true + 485 + x + pulse-access + + + + true + 32 + x + public + + + + true + 65533 + x + nobody + + + + true + 14 + x + uucp + + + + true + 43 + x + modem + + + + true + 40 + x + games + + + + true + 12 + x + mail + postfix + + + true + 51 + x + postfix + + + + true + 13 + x + news + + + + true + 1 + x + bin + daemon + + + true + 42 + x + trusted + + + + true + 22 + x + utmp + + + + true + 6 + x + disk + + + + true + 49 + x + ftp + + + + + + + 127.0.0.1 + + localhost + + + + ::1 + + localhost ipv6-localhost ipv6-loopback + + + + fe00::0 + + ipv6-localnet + + + + ff00::0 + + ipv6-mcastprefix + + + + ff02::1 + + ipv6-allnodes + + + + ff02::2 + + ipv6-allrouters + + + + ff02::3 + + ipv6-allhosts + + + + + + true + + 165M,high + 72M,low + + 237M\<4G + + + + + true + yes + + lzo + 31 + 64 + + yes + 5 + + auto + 30 + + + + + + /var/crash + + + + + 3 + + + + + english-us + + + en_US + + + + + + + AUTO + + + false + suse + ispimos + auto + false + + + + static + eth0 + 100.2.230.95 + Ethernet Card 0 + 255.255.255.0 + 24 + auto + + + static + lo + no + 127.0.0.1 + 255.0.0.0 + 127.0.0.0 + 8 + nfsroot + no + + + true + true + false + + false + + + + + + true + true + 0 + + + true + true + 10 + + + true + true + 10 + + + true + true + 10 + + + + + true + + + desktop-translations + grub2-x86_64-efi + mokutil + shim + yast2-trans-en_US + + + Minimal + base + laptop + + + Mesa + fonts-config + ft2demos + libasound2 + libdrm + libmysqlclient_r15 + libpciaccess0 + libqt4 + libqt4-qt3support + libqt4-sql + libqt4-sql-mysql + libqt4-sql-sqlite + libqt4-x11 + pcmciautils + sendmail + xorg-x11-fonts + xorg-x11-fonts-core + xorg-x11-libXfixes + xorg-x11-libXmu + xorg-x11-libXp + xorg-x11-libXpm + xorg-x11-libXprintUtil + xorg-x11-libXrender + xorg-x11-libXv + xorg-x11-libfontenc + xorg-x11-libs + xorg-x11-libxkbfile + yast2-qt + yast2-qt-pkg + + + + UTC + Asia/Shanghai + + + + 100 + + /home + -1 + true + /bin/bash + /etc/skel + 022 + + + + true + user for rpcbind + 65534 + /var/lib/empty + + + + + + + + + /sbin/nologin + 495 + ! + rpc + + + true + User for D-Bus + 499 + /var/run/dbus + + + + + + + + + /bin/false + 499 + ! + messagebus + + + true + PulseAudio daemon + 486 + /var/lib/pulseaudio + + + + + + + + + /sbin/nologin + 487 + ! + pulse + + + true + User for polkitd + 495 + /var/lib/polkit + + + + + + + + + /sbin/nologin + 497 + ! + polkitd + + + true + WWW daemon apache + 8 + /var/lib/wwwrun + + + + + + + + + /bin/false + 30 + * + wwwrun + + + true + RealtimeKit + 488 + /proc + + + + + + + + + /bin/false + 488 + ! + rtkit + + + true + Gnome Display Manager daemon + 483 + /var/lib/gdm + + + + + + + + + /bin/false + 484 + ! + gdm + + + true + Daemon + 2 + /sbin + + + + + + + + + /bin/bash + 2 + * + daemon + + + true + NTP daemon + 490 + /var/lib/ntp + + + + + + + + + /bin/false + 74 + ! + ntp + + + true + User for nscd + 494 + /run/nscd + + + + + + + + + /sbin/nologin + 496 + ! + nscd + + + true + SSH daemon + 498 + /var/lib/sshd + + + + + + + + + /bin/false + 498 + ! + sshd + + + true + Printing daemon + 7 + /var/spool/lpd + + + + + + + + + /bin/bash + 4 + * + lp + + + true + Batch jobs daemon + 25 + /var/spool/atjobs + + + + + + + + + /bin/bash + 25 + ! + at + + + true + Manual pages viewer + 62 + /var/cache/man + + + + + + + + + /bin/bash + 13 + * + man + + + true + user for VNC + 484 + /var/lib/empty + + + + + + + + + /sbin/nologin + 485 + ! + vnc + + + true + NFS statd daemon + 65534 + /var/lib/nfs + + + + + + + + + /sbin/nologin + 490 + ! + statd + + + true + Smart Card Reader + 489 + /var/run/pcscd + + + + + + + + + /usr/sbin/nologin + 489 + ! + scard + + + true + News system + 13 + /etc/news + + + + + + + + + /bin/bash + 9 + * + news + + + true + openslp daemon + 2 + /var/lib/empty + + + + + + + + + /sbin/nologin + 494 + ! + openslp + + + true + bin + 1 + /bin + + + + + + + + + /bin/bash + 1 + * + bin + + + true + systemd Time Synchronization + 492 + / + + + + + + + + + /sbin/nologin + 492 + !! + systemd-timesync + + + false + root + 0 + /root + + + + + + + + + /bin/bash + 0 + + root + + + true + FTP account + 49 + /srv/ftp + + + + + + + + + /bin/bash + 40 + * + ftp + + + true + User for GeoClue D-Bus service + 65534 + /var/lib/srvGeoClue + + + + + + + + + /sbin/nologin + 486 + ! + srvGeoClue + + + true + nobody + 65533 + /var/lib/nobody + + + + + + + + + /bin/bash + 65534 + * + nobody + + + true + Unix-to-Unix CoPy system + 14 + /etc/uucp + + + + + + + + + /bin/bash + 10 + * + uucp + + + true + Secure FTP User + 65534 + /var/lib/empty + + + + + + + + + /bin/false + 491 + ! + ftpsecure + + + true + Games account + 100 + /var/games + + + + + + + + + /bin/bash + 12 + * + games + + + true + Mailer daemon + 12 + /var/spool/clientmqueue + + + + + + + + + /bin/false + 8 + * + mail + + + true + Postfix Daemon + 51 + /var/spool/postfix + + + + + + + + + /bin/false + 51 + ! + postfix + + + + + + + + + + + + + + diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse/autoinst_example.xml b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse/autoinst_example.xml new file mode 100644 index 0000000..ff9315e --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse/autoinst_example.xml @@ -0,0 +1,1378 @@ + + + + + + + + + SUSE Linux Enterprise Server + 2 + true + off + 80 + + + + ahci + + + mptspi + + + ata_piix + + + ata_generic + + + default + + + YaST_Default_CA + YaST Default CA (linux-siic) + CN + + + + ENTER PASSWORD HERE + linux-siic.suse + postmaster@suse + + false + + + false + + + no + no + no + no + + + + + + + + + no + yes + no + no + + no + yes + no + yes + no + no + no + + + + + + + + + + + + + + + + + + + no + true + true + + + + + false + + + + true + true + true + true + false + true + + + + + + true + 100 + x + users + + + + true + 25 + x + at + + + + true + 62 + x + man + + + + true + 9 + x + kmem + + + + true + 489 + x + scard + + + + true + 482 + x + adm + + + + true + 16 + x + dialout + + + + true + 5 + x + tty + + + + true + 20 + x + cdrom + + + + true + 496 + x + input + + + + true + 487 + x + brlapi + + + + true + 488 + x + rtkit + + + + true + 494 + x + nscd + + + + true + 3 + x + sys + + + + true + 17 + x + audio + + + + true + 7 + x + lp + + + + true + 59 + x + maildrop + postfix + + + true + 10 + x + wheel + + + + true + 497 + x + tape + + + + true + 493 + x + systemd-journal + + + + true + 54 + x + lock + + + + true + 0 + x + root + + + + true + 492 + x + systemd-timesync + + + + true + 491 + x + kvm + + + + true + 71 + x + ntadmin + + + + true + 15 + x + shadow + vnc + + + true + 484 + x + vnc + + + + true + 499 + x + messagebus + + + + true + 41 + x + xok + + + + true + 486 + x + pulse + + + + true + 65534 + x + nogroup + nobody + + + true + 495 + x + polkitd + + + + true + 483 + x + gdm + + + + true + 490 + x + ntp + + + + true + 21 + x + console + + + + true + 2 + x + daemon + + + + true + 33 + x + video + gdm + + + true + 498 + x + sshd + + + + true + 19 + x + floppy + + + + true + 8 + x + www + + + + true + 485 + x + pulse-access + + + + true + 32 + x + public + + + + true + 65533 + x + nobody + + + + true + 14 + x + uucp + + + + true + 43 + x + modem + + + + true + 40 + x + games + + + + true + 12 + x + mail + postfix + + + true + 51 + x + postfix + + + + true + 13 + x + news + + + + true + 1 + x + bin + daemon + + + true + 42 + x + trusted + + + + true + 22 + x + utmp + + + + true + 6 + x + disk + + + + true + 49 + x + ftp + + + + + + + 127.0.0.1 + + localhost + + + + ::1 + + localhost ipv6-localhost ipv6-loopback + + + + fe00::0 + + ipv6-localnet + + + + ff00::0 + + ipv6-mcastprefix + + + + ff02::1 + + ipv6-allnodes + + + + ff02::2 + + ipv6-allrouters + + + + ff02::3 + + ipv6-allhosts + + + + + + true + + 165M,high + 72M,low + + 237M\<4G + + + + + true + yes + + lzo + 31 + 64 + + yes + 5 + + auto + 30 + + + + + + /var/crash + + + + + 3 + + + + + english-us + + + en_US + + + + + + + AUTO + + + false + suse + + ispimos + auto + false + + + + + static + eth0 + 100.2.230.95 + Ethernet Card 0 + 255.255.255.0 + 24 + auto + + + static + lo + no + 127.0.0.1 + 255.0.0.0 + 127.0.0.0 + 8 + nfsroot + no + + + + true + true + false + + false + + + + + + /dev/sda + true + true + + + true + false + xfs + true + defaults + false + /home + uuid + 131 + 1 + false + 10240M + + + true + false + swap + true + umask=0002,utf8=true + false + swap + uuid + 131 + 2 + false + auto + + + true + false + vfat + true + umask=0002,utf8=true + false + /boot/efi + device + 259 + 3 + false + 200M + + + true + false + ext3 + true + acl,user_xattr + false + /boot + uuid + 131 + 4 + false + auto + + + true + false + ext3 + true + acl,user_xattr + false + / + uuid + 131 + 5 + false + max + + + + CT_DISK + all + + + + + + true + true + 0 + + + true + true + 10 + + + true + true + 10 + + + true + true + 10 + + + + + + true + + + desktop-translations + grub2-x86_64-efi + mokutil + shim + yast2-trans-en_US + + + Minimal + base + laptop + + + Mesa + fonts-config + ft2demos + libasound2 + libdrm + libmysqlclient_r15 + libpciaccess0 + libqt4 + libqt4-qt3support + libqt4-sql + libqt4-sql-mysql + libqt4-sql-sqlite + libqt4-x11 + pcmciautils + sendmail + xorg-x11-fonts + xorg-x11-fonts-core + xorg-x11-libXfixes + xorg-x11-libXmu + xorg-x11-libXp + xorg-x11-libXpm + xorg-x11-libXprintUtil + xorg-x11-libXrender + xorg-x11-libXv + xorg-x11-libfontenc + xorg-x11-libs + xorg-x11-libxkbfile + yast2-qt + yast2-qt-pkg + + + + + + UTC + Asia/Shanghai + + + + + 100 + + /home + -1 + true + /bin/bash + /etc/skel + 022 + + + + true + user for rpcbind + 65534 + /var/lib/empty + + + + + + + + + /sbin/nologin + 495 + ! + rpc + + + true + User for D-Bus + 499 + /var/run/dbus + + + + + + + + + /bin/false + 499 + ! + messagebus + + + true + PulseAudio daemon + 486 + /var/lib/pulseaudio + + + + + + + + + /sbin/nologin + 487 + ! + pulse + + + true + User for polkitd + 495 + /var/lib/polkit + + + + + + + + + /sbin/nologin + 497 + ! + polkitd + + + true + WWW daemon apache + 8 + /var/lib/wwwrun + + + + + + + + + /bin/false + 30 + * + wwwrun + + + true + RealtimeKit + 488 + /proc + + + + + + + + + /bin/false + 488 + ! + rtkit + + + true + Gnome Display Manager daemon + 483 + /var/lib/gdm + + + + + + + + + /bin/false + 484 + ! + gdm + + + true + Daemon + 2 + /sbin + + + + + + + + + /bin/bash + 2 + * + daemon + + + true + NTP daemon + 490 + /var/lib/ntp + + + + + + + + + /bin/false + 74 + ! + ntp + + + true + User for nscd + 494 + /run/nscd + + + + + + + + + /sbin/nologin + 496 + ! + nscd + + + true + SSH daemon + 498 + /var/lib/sshd + + + + + + + + + /bin/false + 498 + ! + sshd + + + true + Printing daemon + 7 + /var/spool/lpd + + + + + + + + + /bin/bash + 4 + * + lp + + + true + Batch jobs daemon + 25 + /var/spool/atjobs + + + + + + + + + /bin/bash + 25 + ! + at + + + true + Manual pages viewer + 62 + /var/cache/man + + + + + + + + + /bin/bash + 13 + * + man + + + true + user for VNC + 484 + /var/lib/empty + + + + + + + + + /sbin/nologin + 485 + ! + vnc + + + true + NFS statd daemon + 65534 + /var/lib/nfs + + + + + + + + + /sbin/nologin + 490 + ! + statd + + + true + Smart Card Reader + 489 + /var/run/pcscd + + + + + + + + + /usr/sbin/nologin + 489 + ! + scard + + + true + News system + 13 + /etc/news + + + + + + + + + /bin/bash + 9 + * + news + + + true + openslp daemon + 2 + /var/lib/empty + + + + + + + + + /sbin/nologin + 494 + ! + openslp + + + true + bin + 1 + /bin + + + + + + + + + /bin/bash + 1 + * + bin + + + true + systemd Time Synchronization + 492 + / + + + + + + + + + /sbin/nologin + 492 + !! + systemd-timesync + + + + false + root + 0 + /root + + + + + + + + + /bin/bash + 0 + $6$vvvauV0ZX.Qr$TaieYlYUpaXrnLbweWoSVjrJUATU11KSDBSHzpfBaZQIQ.sl7pGzB0iHH6ZShG7Pv1JxN.Wl.4tp88MqFKqm60 + root + + + + true + FTP account + 49 + /srv/ftp + + + + + + + + + /bin/bash + 40 + * + ftp + + + true + User for GeoClue D-Bus service + 65534 + /var/lib/srvGeoClue + + + + + + + + + /sbin/nologin + 486 + ! + srvGeoClue + + + true + nobody + 65533 + /var/lib/nobody + + + + + + + + + /bin/bash + 65534 + * + nobody + + + true + Unix-to-Unix CoPy system + 14 + /etc/uucp + + + + + + + + + /bin/bash + 10 + * + uucp + + + true + Secure FTP User + 65534 + /var/lib/empty + + + + + + + + + /bin/false + 491 + ! + ftpsecure + + + true + Games account + 100 + /var/games + + + + + + + + + /bin/bash + 12 + * + games + + + true + Mailer daemon + 12 + /var/spool/clientmqueue + + + + + + + + + /bin/false + 8 + * + mail + + + true + Postfix Daemon + 51 + /var/spool/postfix + + + + + + + + + /bin/false + 51 + ! + postfix + + + + + + + + + + + + + + diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse15/autoinst.xml b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse15/autoinst.xml new file mode 100644 index 0000000..b22a30d --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse15/autoinst.xml @@ -0,0 +1,1367 @@ + + + + + + + + @path + sle-module-basesystem + /Module-Basesystem + + + @path + sle-module-development-tools + /Module-Development-Tools + + + @path + sle-module-desktop-applications + /Module-Desktop-Applications + + + + + + false + + + + + auto + auto + false + true + true + gfxterm + 8 + true + vga=gfx-1024x768x16 crashkernel=314M\<4G + + default + + + public + true + off + false + + + Unsolicited incoming network packets are rejected. Incoming packets that are related to outgoing network connections are accepted. Outgoing network connections are allowed. + + false + block + + + + Block + %%REJECT%% + + + For computers in your demilitarized zone that are publicly-accessible with limited access to your internal network. Only selected incoming connections are accepted. + + false + dmz + + + + ssh + + DMZ + default + + + All network connections are accepted. + + docker0 + + false + docker + + + + docker + ACCEPT + + + Unsolicited incoming network packets are dropped. Incoming packets that are related to outgoing network connections are accepted. Outgoing network connections are allowed. + + false + drop + + + + Drop + DROP + + + For use on external networks. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted. + + true + external + + + + ssh + + External + default + + + For use in home areas. You mostly trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted. + + false + home + + + + dhcpv6-client + mdns + samba-client + ssh + + Home + default + + + For use on internal networks. You mostly trust the other computers on the networks to not harm your computer. Only selected incoming connections are accepted. + + false + internal + + + + dhcpv6-client + mdns + samba-client + ssh + + Internal + default + + + For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted. + + false + public + + + + dhcpv6-client + + Public + default + + + All network connections are accepted. + + false + trusted + + + + Trusted + ACCEPT + + + For use in work areas. You mostly trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted. + + false + work + + + + dhcpv6-client + ssh + + Work + default + + + + + + true + 100 + x + users + + + + true + 1 + x + bin + daemon + + + true + 489 + x + input + + + + true + 65533 + x + nogroup + + + + true + 59 + x + maildrop + postfix + + + true + 463 + x + vnc + + + + true + 15 + x + shadow + vnc + + + true + 484 + x + audit + + + + true + 479 + x + polkitd + + + + true + 477 + x + rtkit + + + + true + 472 + x + systemd-coredump + + + + true + 474 + x + systemd-resolve + + + + true + 62 + x + man + + + + true + 481 + ! + srvGeoClue + + + + true + 495 + x + lock + + + + true + 71 + x + ntadmin + + + + true + 469 + x + chrony + + + + true + 486 + x + tape + + + + true + 496 + x + kmem + + + + true + 499 + x + messagebus + + + + true + 480 + ! + flatpak + + + + true + 466 + x + colord + + + + true + 65534 + x + nobody + + + + true + 490 + x + disk + + + + true + 478 + x + brlapi + + + + true + 467 + x + pulse-access + + + + true + 468 + x + pulse + + + + true + 494 + x + utmp + + + + true + 464 + x + nm-openconnect + + + + true + 465 + x + nm-openvpn + + + + true + 483 + x + tftp + tftp,dnsmasq + + + true + 5 + x + tty + + + + true + 462 + x + gdm + + + + true + 475 + x + systemd-network + + + + true + 491 + x + dialout + + + + true + 470 + x + scard + + + + true + 493 + x + audio + pulse + + + true + 473 + x + systemd-timesync + + + + true + 476 + x + systemd-journal + + + + true + 42 + x + trusted + + + + true + 51 + x + postfix + + + + true + 498 + ! + mail + postfix + + + true + 482 + ! + sshd + + + + true + 497 + x + wheel + + + + true + 487 + x + render + + + + true + 485 + x + video + gdm + + + true + 488 + x + lp + + + + true + 471 + x + nscd + + + + true + 0 + x + root + + + + true + 492 + x + cdrom + + + + true + 36 + x + kvm + + + + true + 2 + x + daemon + + + + + + + 127.0.0.1 + + localhost + + + + ::1 + + localhost ipv6-localhost ipv6-loopback + + + + fe00::0 + + ipv6-localnet + + + + ff00::0 + + ipv6-mcastprefix + + + + ff02::1 + + ipv6-allnodes + + + + ff02::2 + + ipv6-allrouters + + + + ff02::3 + + ipv6-allhosts + + + + + + true + + 242M,high + 72M,low + + 314M\<4G + + + + + true + yes + + lzo + 31 + 64 + + yes + 5 + + auto + 30 + + + + + + /var/crash + + + + + 3 + + + + + english-us + + + en_US + + + + + false + + ispimos + auto + + true + true + false + + + auto + + manual + + + + + + true + + + xfsprogs + snapper + sled-release + sle-module-desktop-applications-release + sle-module-basesystem-release + shim + openssh + numactl + mokutil + kexec-tools + kdump + irqbalance + grub2-x86_64-efi + glibc + firewalld + + + + apparmor + base + basesystem + basic_desktop + enhanced_base + fonts + gnome + gnome_basic + gnome_basis + gnome_imaging + gnome_multimedia + gnome_x11 + minimal_base + office + x11 + x11_enhanced + x11_yast + + + + SLED + + + + + Asia/Shanghai + + + + 100 + + /home + -1 + true + /bin/bash + /etc/skel + 022 + + + + true + User for polkitd + 479 + /var/lib/polkit + false + + + + + + + + + /sbin/nologin + 491 + ! + polkitd + + + true + RealtimeKit + 477 + /proc + false + + + + + + + + + /bin/false + 490 + ! + rtkit + + + true + systemd Resolver + 474 + / + false + + + + + + + + + /usr/sbin/nologin + 474 + !* + systemd-resolve + + + true + Manual pages viewer + 62 + /var/lib/empty + false + + + + + + + + + /sbin/nologin + 13 + ! + man + + + true + systemd Core Dumper + 472 + / + false + + + + + + + + + /usr/sbin/nologin + 472 + !* + systemd-coredump + + + true + User for GeoClue D-Bus service + 481 + /var/lib/srvGeoClue + false + + + + + + + + + /sbin/nologin + 493 + ! + srvGeoClue + + + true + bin + 1 + /bin + false + + + + + + + + + /sbin/nologin + 1 + ! + bin + + + true + user for VNC + 463 + /var/lib/empty + false + + + + + + + + + /sbin/nologin + 461 + ! + vnc + + + true + user for rpcbind + 65534 + /var/lib/empty + false + + + + + + + + + /sbin/nologin + 471 + ! + rpc + + + true + user for colord + 466 + /var/lib/colord + false + + + + + + + + + /sbin/nologin + 464 + ! + colord + + + true + nobody + 65534 + /var/lib/nobody + false + + + + + + + + + /bin/bash + 65534 + ! + nobody + + + true + PulseAudio daemon + 468 + /var/lib/pulseaudio + false + + + + + + + + + /sbin/nologin + 466 + ! + pulse + + + true + NetworkManager user for OpenConnect + 464 + /var/lib/nm-openconnect + false + + + + + + + + + /sbin/nologin + 462 + ! + nm-openconnect + + + true + NetworkManager user for OpenVPN + 465 + /var/lib/openvpn + false + + + + + + + + + /sbin/nologin + 463 + ! + nm-openvpn + + + true + TFTP account + 483 + /srv/tftpboot + false + + + + + + + + + /bin/false + 497 + ! + tftp + + + true + Chrony Daemon + 469 + /var/lib/chrony + false + + + + + + + + + /bin/false + 467 + ! + chrony + + + true + User for D-Bus + 499 + /run/dbus + false + + + + + + + + + /usr/bin/false + 499 + ! + messagebus + + + true + usbmuxd daemon + 65533 + /var/lib/usbmuxd + false + + + + + + + + + /sbin/nologin + 465 + ! + usbmux + + + true + Flatpak system helper + 480 + /home/flatpak + false + + + + + + + + + /sbin/nologin + 492 + ! + flatpak + + + true + + 100 + /run/gnome-initial-setup/ + false + + + + + + + + + /sbin/nologin + 459 + ! + gnome-initial-setup + + + true + Smart Card Reader + 470 + /var/run/pcscd + false + + + + + + + + + /usr/sbin/nologin + 468 + ! + scard + + + true + systemd Time Synchronization + 473 + / + false + + + + + + + + + /usr/sbin/nologin + 473 + !* + systemd-timesync + + + true + Postfix Daemon + 51 + /var/spool/postfix + false + + + + + + + + + /sbin/nologin + 51 + ! + postfix + + + true + Mailer daemon + 498 + /var/spool/clientmqueue + false + + + + + + + + + /sbin/nologin + 498 + ! + mail + + + true + Gnome Display Manager daemon + 462 + /var/lib/gdm + false + + + + + + + + + /bin/false + 460 + ! + gdm + + + true + systemd Network Management + 475 + / + false + + + + + + + + + /usr/sbin/nologin + 475 + !* + systemd-network + + + true + NFS statd daemon + 65533 + /var/lib/nfs + false + + + + + + + + + /sbin/nologin + 469 + ! + statd + + + true + Printing daemon + 488 + /var/spool/lpd + false + + + + + + + + + /sbin/nologin + 495 + ! + lp + + + true + User for nscd + 471 + /run/nscd + false + + + + + + + + + /sbin/nologin + 470 + ! + nscd + + + true + dnsmasq + 65533 + /var/lib/empty + false + + + + + + + + + /bin/false + 496 + ! + dnsmasq + + + + + false + root + 0 + /root + false + + + + + + + + + /bin/bash + 0 + + root + + + true + Daemon + 2 + /sbin + false + + + + + + + + + /sbin/nologin + 2 + ! + daemon + + + true + SSH daemon + 482 + /var/lib/sshd + false + + + + + + + + + /sbin/nologin + 494 + ! + sshd + + + + + + + + diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse15/autoinst_example.xml b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse15/autoinst_example.xml new file mode 100644 index 0000000..93df147 --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/suse15/autoinst_example.xml @@ -0,0 +1,1384 @@ + + + + + + + + @path + sle-module-basesystem + /Module-Basesystem + + + @path + sle-module-development-tools + /Module-Development-Tools + + + @path + sle-module-desktop-applications + /Module-Desktop-Applications + + + + + + false + + + + + auto + auto + false + true + true + gfxterm + 8 + true + vga=gfx-1024x768x16 crashkernel=314M\<4G + + default + + + public + true + off + false + + + Unsolicited incoming network packets are rejected. Incoming packets that are related to outgoing network connections are accepted. Outgoing network connections are allowed. + + false + block + + + + Block + %%REJECT%% + + + For computers in your demilitarized zone that are publicly-accessible with limited access to your internal network. Only selected incoming connections are accepted. + + false + dmz + + + + ssh + + DMZ + default + + + All network connections are accepted. + + docker0 + + false + docker + + + + docker + ACCEPT + + + Unsolicited incoming network packets are dropped. Incoming packets that are related to outgoing network connections are accepted. Outgoing network connections are allowed. + + false + drop + + + + Drop + DROP + + + For use on external networks. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted. + + true + external + + + + ssh + + External + default + + + For use in home areas. You mostly trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted. + + false + home + + + + dhcpv6-client + mdns + samba-client + ssh + + Home + default + + + For use on internal networks. You mostly trust the other computers on the networks to not harm your computer. Only selected incoming connections are accepted. + + false + internal + + + + dhcpv6-client + mdns + samba-client + ssh + + Internal + default + + + For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted. + + false + public + + + + dhcpv6-client + + Public + default + + + All network connections are accepted. + + false + trusted + + + + Trusted + ACCEPT + + + For use in work areas. You mostly trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted. + + false + work + + + + dhcpv6-client + ssh + + Work + default + + + + + + true + 100 + x + users + + + + true + 1 + x + bin + daemon + + + true + 489 + x + input + + + + true + 65533 + x + nogroup + + + + true + 59 + x + maildrop + postfix + + + true + 463 + x + vnc + + + + true + 15 + x + shadow + vnc + + + true + 484 + x + audit + + + + true + 479 + x + polkitd + + + + true + 477 + x + rtkit + + + + true + 472 + x + systemd-coredump + + + + true + 474 + x + systemd-resolve + + + + true + 62 + x + man + + + + true + 481 + ! + srvGeoClue + + + + true + 495 + x + lock + + + + true + 71 + x + ntadmin + + + + true + 469 + x + chrony + + + + true + 486 + x + tape + + + + true + 496 + x + kmem + + + + true + 499 + x + messagebus + + + + true + 480 + ! + flatpak + + + + true + 466 + x + colord + + + + true + 65534 + x + nobody + + + + true + 490 + x + disk + + + + true + 478 + x + brlapi + + + + true + 467 + x + pulse-access + + + + true + 468 + x + pulse + + + + true + 494 + x + utmp + + + + true + 464 + x + nm-openconnect + + + + true + 465 + x + nm-openvpn + + + + true + 483 + x + tftp + tftp,dnsmasq + + + true + 5 + x + tty + + + + true + 462 + x + gdm + + + + true + 475 + x + systemd-network + + + + true + 491 + x + dialout + + + + true + 470 + x + scard + + + + true + 493 + x + audio + pulse + + + true + 473 + x + systemd-timesync + + + + true + 476 + x + systemd-journal + + + + true + 42 + x + trusted + + + + true + 51 + x + postfix + + + + true + 498 + ! + mail + postfix + + + true + 482 + ! + sshd + + + + true + 497 + x + wheel + + + + true + 487 + x + render + + + + true + 485 + x + video + gdm + + + true + 488 + x + lp + + + + true + 471 + x + nscd + + + + true + 0 + x + root + + + + true + 492 + x + cdrom + + + + true + 36 + x + kvm + + + + true + 2 + x + daemon + + + + + + + 127.0.0.1 + + localhost + + + + ::1 + + localhost ipv6-localhost ipv6-loopback + + + + fe00::0 + + ipv6-localnet + + + + ff00::0 + + ipv6-mcastprefix + + + + ff02::1 + + ipv6-allnodes + + + + ff02::2 + + ipv6-allrouters + + + + ff02::3 + + ipv6-allhosts + + + + + + true + + 242M,high + 72M,low + + 314M\<4G + + + + + true + yes + + lzo + 31 + 64 + + yes + 5 + + auto + 30 + + + + + + /var/crash + + + + + 3 + + + + + + english-us + + + en_US + + + + + false + + ispimos + auto + + true + true + false + + + auto + + manual + + + + + + + + true + + + xfsprogs + snapper + sled-release + sle-module-desktop-applications-release + sle-module-basesystem-release + shim + openssh + numactl + mokutil + kexec-tools + kdump + irqbalance + grub2-x86_64-efi + glibc + firewalld + + + apparmor + base + basesystem + basic_desktop + enhanced_base + fonts + gnome + gnome_basic + gnome_basis + gnome_imaging + gnome_multimedia + gnome_x11 + minimal_base + office + x11 + x11_enhanced + x11_yast + + + SLED + + + + + Asia/Shanghai + + + + 100 + + /home + -1 + true + /bin/bash + /etc/skel + 022 + + + + true + User for polkitd + 479 + /var/lib/polkit + false + + + + + + + + + /sbin/nologin + 491 + ! + polkitd + + + true + RealtimeKit + 477 + /proc + false + + + + + + + + + /bin/false + 490 + ! + rtkit + + + true + systemd Resolver + 474 + / + false + + + + + + + + + /usr/sbin/nologin + 474 + !* + systemd-resolve + + + true + Manual pages viewer + 62 + /var/lib/empty + false + + + + + + + + + /sbin/nologin + 13 + ! + man + + + true + systemd Core Dumper + 472 + / + false + + + + + + + + + /usr/sbin/nologin + 472 + !* + systemd-coredump + + + true + User for GeoClue D-Bus service + 481 + /var/lib/srvGeoClue + false + + + + + + + + + /sbin/nologin + 493 + ! + srvGeoClue + + + true + bin + 1 + /bin + false + + + + + + + + + /sbin/nologin + 1 + ! + bin + + + true + user for VNC + 463 + /var/lib/empty + false + + + + + + + + + /sbin/nologin + 461 + ! + vnc + + + true + user for rpcbind + 65534 + /var/lib/empty + false + + + + + + + + + /sbin/nologin + 471 + ! + rpc + + + true + user for colord + 466 + /var/lib/colord + false + + + + + + + + + /sbin/nologin + 464 + ! + colord + + + true + nobody + 65534 + /var/lib/nobody + false + + + + + + + + + /bin/bash + 65534 + ! + nobody + + + true + PulseAudio daemon + 468 + /var/lib/pulseaudio + false + + + + + + + + + /sbin/nologin + 466 + ! + pulse + + + true + NetworkManager user for OpenConnect + 464 + /var/lib/nm-openconnect + false + + + + + + + + + /sbin/nologin + 462 + ! + nm-openconnect + + + true + NetworkManager user for OpenVPN + 465 + /var/lib/openvpn + false + + + + + + + + + /sbin/nologin + 463 + ! + nm-openvpn + + + true + TFTP account + 483 + /srv/tftpboot + false + + + + + + + + + /bin/false + 497 + ! + tftp + + + true + Chrony Daemon + 469 + /var/lib/chrony + false + + + + + + + + + /bin/false + 467 + ! + chrony + + + true + User for D-Bus + 499 + /run/dbus + false + + + + + + + + + /usr/bin/false + 499 + ! + messagebus + + + true + usbmuxd daemon + 65533 + /var/lib/usbmuxd + false + + + + + + + + + /sbin/nologin + 465 + ! + usbmux + + + true + Flatpak system helper + 480 + /home/flatpak + false + + + + + + + + + /sbin/nologin + 492 + ! + flatpak + + + true + + 100 + /run/gnome-initial-setup/ + false + + + + + + + + + /sbin/nologin + 459 + ! + gnome-initial-setup + + + true + Smart Card Reader + 470 + /var/run/pcscd + false + + + + + + + + + /usr/sbin/nologin + 468 + ! + scard + + + true + systemd Time Synchronization + 473 + / + false + + + + + + + + + /usr/sbin/nologin + 473 + !* + systemd-timesync + + + true + Postfix Daemon + 51 + /var/spool/postfix + false + + + + + + + + + /sbin/nologin + 51 + ! + postfix + + + true + Mailer daemon + 498 + /var/spool/clientmqueue + false + + + + + + + + + /sbin/nologin + 498 + ! + mail + + + true + Gnome Display Manager daemon + 462 + /var/lib/gdm + false + + + + + + + + + /bin/false + 460 + ! + gdm + + + true + systemd Network Management + 475 + / + false + + + + + + + + + /usr/sbin/nologin + 475 + !* + systemd-network + + + true + NFS statd daemon + 65533 + /var/lib/nfs + false + + + + + + + + + /sbin/nologin + 469 + ! + statd + + + true + Printing daemon + 488 + /var/spool/lpd + false + + + + + + + + + /sbin/nologin + 495 + ! + lp + + + true + User for nscd + 471 + /run/nscd + false + + + + + + + + + /sbin/nologin + 470 + ! + nscd + + + true + dnsmasq + 65533 + /var/lib/empty + false + + + + + + + + + /bin/false + 496 + ! + dnsmasq + + + + + false + root + 0 + /root + false + + + + + + + + + /bin/bash + 0 + + root + + + true + Daemon + 2 + /sbin + false + + + + + + + + + /sbin/nologin + 2 + ! + daemon + + + true + SSH daemon + 482 + /var/lib/sshd + false + + + + + + + + + /sbin/nologin + 494 + ! + sshd + + + + + + + + + + + + diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/windows/sn-example/autounattend.xml b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/windows/sn-example/autounattend.xml new file mode 100644 index 0000000..195b09b --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/windows/sn-example/autounattend.xml @@ -0,0 +1,137 @@ + + + + + true + + + true + + + + + --computerName-- + --WinActiveNum-- + false + false + --TimeZone-- + + + false + + + + + true + --WinRemoteDesktop-- + all + + + + + + + + --WinIsDhcp-- + 20 + false + + --Ethernet-- + + --WinStaticIp--/24 + + + + + + + + + + --WinPassword-- + true</PlainText> + </Password> + <Enabled>true</Enabled> + <LogonCount>1</LogonCount> + <Username>Administrator</Username> + </AutoLogon> + <OOBE> + <HideEULAPage>true</HideEULAPage> + </OOBE> + <UserAccounts> + <AdministratorPassword> + <PlainText>true</PlainText> + <Value>--WinPassword--</Value> + </AdministratorPassword> + --WinAddNewUser-- + </UserAccounts> + </component> + <component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <SystemLocale>--Languages--</SystemLocale> + <UILanguage>--Languages--</UILanguage> + <UILanguageFallback>--Languages--</UILanguageFallback> + <UserLocale>--Languages--</UserLocale> + <InputLocale>--Languages--</InputLocale> + </component> + </settings> + <settings pass="windowsPE"> + <component name="Microsoft-Windows-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <ImageInstall> + <OSImage> + <InstallFrom> + <Path>install.wim</Path> + <MetaData wcm:action="add"> + <Key>/IMAGE/NAME</Key> + <Value>--OSDistributions--</Value> + </MetaData> + </InstallFrom> + <InstallTo> + <DiskID>0</DiskID> + <PartitionID>--DiskPartStartNo--</PartitionID> + </InstallTo> + <WillShowUI>OnError</WillShowUI> + </OSImage> + </ImageInstall> + <UserData> + <ProductKey> + <WillShowUI>OnError</WillShowUI> + <Key>--WinActiveNum--</Key> + </ProductKey> + <AcceptEula>true</AcceptEula> + </UserData> + <EnableFirewall>true</EnableFirewall> + <EnableNetwork>true</EnableNetwork> + --WinDiskPart-- + </component> + <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <SetupUILanguage> + <UILanguage>--Languages--</UILanguage> + </SetupUILanguage> + <InputLocale>--Languages--</InputLocale> + <SystemLocale>--Languages--</SystemLocale> + <UILanguage>--Languages--</UILanguage> + <UserLocale>--Languages--</UserLocale> + <UILanguageFallback>zh-CN</UILanguageFallback> + </component> + <component name="Microsoft-Windows-PnpCustomizationsWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <DriverPaths> + <PathAndCredentials wcm:action="add" wcm:keyValue="1"> + <Path>y:\windows_drivers\winpe</Path> + </PathAndCredentials> + </DriverPaths> + </component> + </settings> + <settings pass="offlineServicing"> + <component name="Microsoft-Windows-PnpCustomizationsNonWinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <DriverPaths> + <PathAndCredentials wcm:action="add" wcm:keyValue="1"> + <Path>y:\windows_drivers\drivers</Path> + </PathAndCredentials> + </DriverPaths> + </component> + <component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <EnableLUA>false</EnableLUA> + </component> + </settings> + <cpi:offlineImage cpi:source="catalog://osinstall/image/windows/clg/install_windows server 2012 r2 serverdatacenter.clg" xmlns:cpi="urn:schemas-microsoft-com:cpi" /> +</unattend> diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/windows/sn-example/install.bat b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/windows/sn-example/install.bat new file mode 100644 index 0000000..8a71f89 --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/osInstall/ks/windows/sn-example/install.bat @@ -0,0 +1,25 @@ +wpeinit +ping -n 5 127.0.0.1 > nul + +move AUTOUNATTEND.XML / +cd / +set _SERVER=--server-- +set _PORT=--port-- +set _SN=--sn-- +set _IMAGE_PATH=--path-- +set _FILE_SERVER=--fileserver-- +set _TASK_ID=--taskId-- +set _JOB_ID=--jobId-- + +net use * /del + +ping -n 5 %_SERVER% + +net use y: \\%_SERVER%\sambaroot 123456a? /user:isib + +ping -n 5 %_FILE_SERVER% + +net use y: \\%_FILE_SERVER%\sambaroot 123456a? /user:isib + +rem start install +%systemdrive%\start.cmd %_SERVER% %_PORT% %_SN% %_IMAGE_PATH% %_FILE_SERVER% %_TASK_ID% %_JOB_ID% diff --git a/InManageBoot-installer/controlfile/result/webservice/osInstall/mount/readme.txt b/InManageBoot-installer/controlfile/result/webservice/osInstall/mount/readme.txt new file mode 100644 index 0000000..e69de29 diff --git a/InManageBoot-installer/controlfile/result/webservice/webserverip b/InManageBoot-installer/controlfile/result/webservice/webserverip new file mode 100644 index 0000000..2e6b2fe --- /dev/null +++ b/InManageBoot-installer/controlfile/result/webservice/webserverip @@ -0,0 +1 @@ +192.168.1.2 \ No newline at end of file -- Gitee