some comment and code is unnecessary, so remove.
test result: /srv/result/host-info/2020-12-28/vm-2p8g/openeuler-20.09-aarch64/z9.271979
Signed-off-by: Liu Yinsi liuyinsi@163.com --- providers/qemu/kvm.sh | 11 ----------- 1 file changed, 11 deletions(-)
diff --git a/providers/qemu/kvm.sh b/providers/qemu/kvm.sh index fe2345f..f84c5ae 100755 --- a/providers/qemu/kvm.sh +++ b/providers/qemu/kvm.sh @@ -22,18 +22,12 @@ echo $SCHED_PORT ipxe_script=ipxe_script curl http://$%7BSCHED_HOST:-172.17.0.1%7D:$%7BSCHED_PORT:-3000%7D/boot.ipxe/mac/$... > $ipxe_script cat $ipxe_script >> ${log_file} -#echo ----- -#cat $ipxe_script -#echo ----- -#exit
append= initrds= while read a b c do case "$a" in - '#') - ;; initrd) file=$(basename "$b") wget --timestamping -a ${log_file} --progress=bar:force $b @@ -44,11 +38,7 @@ do wget --timestamping -a ${log_file} --progress=bar:force $b append=$(echo "$c" | sed -r "s/ initrd=[^ ]+//g") ;; - *) - ;; esac -#done < /tftpboot/boot.ipxe-debian -#done < /tftpboot/boot.ipxe-centos done < $ipxe_script
[ -s "$kernel" ] || { @@ -78,7 +68,6 @@ kvm=( -smp $nr_cpu -m $memory -cpu Kunpeng-920 - -device virtio-gpu-pci -bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd -nic tap,model=virtio-net-pci,helper=/usr/libexec/qemu-bridge-helper,br=br0,mac=${mac} -k en-us
On Mon, Dec 28, 2020 at 08:39:52PM +0800, Liu Yinsi wrote:
some comment and code is unnecessary, so remove.
test result: /srv/result/host-info/2020-12-28/vm-2p8g/openeuler-20.09-aarch64/z9.271979
Signed-off-by: Liu Yinsi liuyinsi@163.com
providers/qemu/kvm.sh | 11 ----------- 1 file changed, 11 deletions(-)
diff --git a/providers/qemu/kvm.sh b/providers/qemu/kvm.sh index fe2345f..f84c5ae 100755 --- a/providers/qemu/kvm.sh +++ b/providers/qemu/kvm.sh @@ -22,18 +22,12 @@ echo $SCHED_PORT ipxe_script=ipxe_script curl http://$%7BSCHED_HOST:-172.17.0.1%7D:$%7BSCHED_PORT:-3000%7D/boot.ipxe/mac/$... > $ipxe_script cat $ipxe_script >> ${log_file} -#echo ----- -#cat $ipxe_script -#echo ----- -#exit
append= initrds= while read a b c do case "$a" in
'#')
;;
why move these code
our ipxe_script may be have: #ipxe xxx
Signed-off-by: Xiao Shenwei xiaoshenwei96@163.com
initrd) file=$(basename "$b") wget --timestamping -a ${log_file} --progress=bar:force $b
@@ -44,11 +38,7 @@ do wget --timestamping -a ${log_file} --progress=bar:force $b append=$(echo "$c" | sed -r "s/ initrd=[^ ]+//g") ;;
*)
esac;;
-#done < /tftpboot/boot.ipxe-debian -#done < /tftpboot/boot.ipxe-centos done < $ipxe_script
[ -s "$kernel" ] || { @@ -78,7 +68,6 @@ kvm=( -smp $nr_cpu -m $memory -cpu Kunpeng-920
- -device virtio-gpu-pci -bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd -nic tap,model=virtio-net-pci,helper=/usr/libexec/qemu-bridge-helper,br=br0,mac=${mac} -k en-us
-- 2.23.0
On Tue, Dec 29, 2020 at 09:05:51AM +0800, Xiao Shenwei wrote:
On Mon, Dec 28, 2020 at 08:39:52PM +0800, Liu Yinsi wrote:
some comment and code is unnecessary, so remove.
test result: /srv/result/host-info/2020-12-28/vm-2p8g/openeuler-20.09-aarch64/z9.271979
Signed-off-by: Liu Yinsi liuyinsi@163.com
providers/qemu/kvm.sh | 11 ----------- 1 file changed, 11 deletions(-)
diff --git a/providers/qemu/kvm.sh b/providers/qemu/kvm.sh index fe2345f..f84c5ae 100755 --- a/providers/qemu/kvm.sh +++ b/providers/qemu/kvm.sh @@ -22,18 +22,12 @@ echo $SCHED_PORT ipxe_script=ipxe_script curl http://$%7BSCHED_HOST:-172.17.0.1%7D:$%7BSCHED_PORT:-3000%7D/boot.ipxe/mac/$... > $ipxe_script cat $ipxe_script >> ${log_file} -#echo ----- -#cat $ipxe_script -#echo ----- -#exit
append= initrds= while read a b c do case "$a" in
'#')
;;
why move these code
we just need match kernel and initrd, others is unnecessary
Thanks, Yinsi
our ipxe_script may be have: #ipxe xxx
Signed-off-by: Xiao Shenwei xiaoshenwei96@163.com
initrd) file=$(basename "$b") wget --timestamping -a ${log_file} --progress=bar:force $b
@@ -44,11 +38,7 @@ do wget --timestamping -a ${log_file} --progress=bar:force $b append=$(echo "$c" | sed -r "s/ initrd=[^ ]+//g") ;;
*)
esac;;
-#done < /tftpboot/boot.ipxe-debian -#done < /tftpboot/boot.ipxe-centos done < $ipxe_script
[ -s "$kernel" ] || { @@ -78,7 +68,6 @@ kvm=( -smp $nr_cpu -m $memory -cpu Kunpeng-920
- -device virtio-gpu-pci -bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd -nic tap,model=virtio-net-pci,helper=/usr/libexec/qemu-bridge-helper,br=br0,mac=${mac} -k en-us
-- 2.23.0
On Tue, Dec 29, 2020 at 09:35:32AM +0800, Liu Yinsi wrote:
On Tue, Dec 29, 2020 at 09:05:51AM +0800, Xiao Shenwei wrote:
On Mon, Dec 28, 2020 at 08:39:52PM +0800, Liu Yinsi wrote:
some comment and code is unnecessary, so remove.
test result: /srv/result/host-info/2020-12-28/vm-2p8g/openeuler-20.09-aarch64/z9.271979
Signed-off-by: Liu Yinsi liuyinsi@163.com
providers/qemu/kvm.sh | 11 ----------- 1 file changed, 11 deletions(-)
diff --git a/providers/qemu/kvm.sh b/providers/qemu/kvm.sh index fe2345f..f84c5ae 100755 --- a/providers/qemu/kvm.sh +++ b/providers/qemu/kvm.sh @@ -22,18 +22,12 @@ echo $SCHED_PORT ipxe_script=ipxe_script curl http://$%7BSCHED_HOST:-172.17.0.1%7D:$%7BSCHED_PORT:-3000%7D/boot.ipxe/mac/$... > $ipxe_script cat $ipxe_script >> ${log_file} -#echo ----- -#cat $ipxe_script -#echo ----- -#exit
append= initrds= while read a b c do case "$a" in
'#')
;;
why move these code
we just need match kernel and initrd, others is unnecessary
i suggest keeping it, there may be other uses on comment of ipxe_script
Thanks, Shenwei
Thanks, Yinsi
our ipxe_script may be have: #ipxe xxx
Signed-off-by: Xiao Shenwei xiaoshenwei96@163.com
initrd) file=$(basename "$b") wget --timestamping -a ${log_file} --progress=bar:force $b
@@ -44,11 +38,7 @@ do wget --timestamping -a ${log_file} --progress=bar:force $b append=$(echo "$c" | sed -r "s/ initrd=[^ ]+//g") ;;
*)
esac;;
-#done < /tftpboot/boot.ipxe-debian -#done < /tftpboot/boot.ipxe-centos done < $ipxe_script
[ -s "$kernel" ] || { @@ -78,7 +68,6 @@ kvm=( -smp $nr_cpu -m $memory -cpu Kunpeng-920
- -device virtio-gpu-pci -bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd -nic tap,model=virtio-net-pci,helper=/usr/libexec/qemu-bridge-helper,br=br0,mac=${mac} -k en-us
-- 2.23.0
On Tue, Dec 29, 2020 at 09:39:29AM +0800, Xiao Shenwei wrote:
On Tue, Dec 29, 2020 at 09:35:32AM +0800, Liu Yinsi wrote:
On Tue, Dec 29, 2020 at 09:05:51AM +0800, Xiao Shenwei wrote:
On Mon, Dec 28, 2020 at 08:39:52PM +0800, Liu Yinsi wrote:
some comment and code is unnecessary, so remove.
test result: /srv/result/host-info/2020-12-28/vm-2p8g/openeuler-20.09-aarch64/z9.271979
Signed-off-by: Liu Yinsi liuyinsi@163.com
providers/qemu/kvm.sh | 11 ----------- 1 file changed, 11 deletions(-)
diff --git a/providers/qemu/kvm.sh b/providers/qemu/kvm.sh index fe2345f..f84c5ae 100755 --- a/providers/qemu/kvm.sh +++ b/providers/qemu/kvm.sh @@ -22,18 +22,12 @@ echo $SCHED_PORT ipxe_script=ipxe_script curl http://$%7BSCHED_HOST:-172.17.0.1%7D:$%7BSCHED_PORT:-3000%7D/boot.ipxe/mac/$... > $ipxe_script cat $ipxe_script >> ${log_file} -#echo ----- -#cat $ipxe_script -#echo ----- -#exit
append= initrds= while read a b c do case "$a" in
'#')
;;
why move these code
we just need match kernel and initrd, others is unnecessary
i suggest keeping it, there may be other uses on comment of ipxe_script
ok
Thanks, Yinsi
Thanks, Shenwei
Thanks, Yinsi
our ipxe_script may be have: #ipxe xxx
Signed-off-by: Xiao Shenwei xiaoshenwei96@163.com
initrd) file=$(basename "$b") wget --timestamping -a ${log_file} --progress=bar:force $b
@@ -44,11 +38,7 @@ do wget --timestamping -a ${log_file} --progress=bar:force $b append=$(echo "$c" | sed -r "s/ initrd=[^ ]+//g") ;;
*)
esac;;
-#done < /tftpboot/boot.ipxe-debian -#done < /tftpboot/boot.ipxe-centos done < $ipxe_script
[ -s "$kernel" ] || { @@ -78,7 +68,6 @@ kvm=( -smp $nr_cpu -m $memory -cpu Kunpeng-920
- -device virtio-gpu-pci -bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd -nic tap,model=virtio-net-pci,helper=/usr/libexec/qemu-bridge-helper,br=br0,mac=${mac} -k en-us
-- 2.23.0