Skip to content

Commit

Permalink
adding kaspersky recovery utility
Browse files Browse the repository at this point in the history
  • Loading branch information
thelamer committed Jan 22, 2020
1 parent 86882f2 commit 9304e1b
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ In addition to being able to host netboot.xyz locally, you can also create your
|DBAN|http://www.dban.org/| Yes | Yes |
|GParted|http://gparted.org| NA | Yes |
|Grml|http://grml.org| NA | Yes |
|Kaspersky Rescue Disk|https://support.kaspersky.com/viruses/krd18| NA | Yes |
|Memtest|http://www.memtest.org/| Yes | - |
|Rescatux|https://www.supergrubdisk.org/rescatux/| NA | Yes |
|Super Grub2 Disk|http://www.supergrubdisk.org| ISO - Memdisk | - |
Expand Down
8 changes: 8 additions & 0 deletions roles/netbootxyz/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,10 @@ utilitiespcbios:
name: "Grml"
enabled: true
type: "ipxemenu"
kaspersky:
name: "Kaspersky Rescue Disk"
enabled: true
type: "ipxemenu"
memtest:
name: "Memtest"
enabled: true
Expand Down Expand Up @@ -584,6 +588,10 @@ utilitiesefi:
name: "Grml"
enabled: true
type: "ipxemenu"
kaspersky:
name: "Kaspersky Rescue Disk"
enabled: true
type: "ipxemenu"
rescatux:
name: "Rescatux"
enabled: true
Expand Down
37 changes: 37 additions & 0 deletions roles/netbootxyz/templates/menu/kaspersky.ipxe.j2
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#!ipxe

goto ${menu} ||

:live_menu
set os Kaspersky Rescue Disk
menu ${os} - Current Arch [ ${arch} ]
iseq ${arch} x86_64 && set arch_a amd64 || set arch_a ${arch}
item --gap ${os} Versions
{% for key, value in endpoints.items() | sort %}
{% if value.os == "kaspersky" %}
item {{ value.version }} ${space} ${os} {{ value.version }}
{% endif %}
{% endfor %}
choose live_version || goto live_exit
goto ${live_version}


{% for key, value in endpoints.items() | sort %}
{% if value.os == "kaspersky" %}
:{{ value.version }}
set url ${live_endpoint}{{ value.path }}
goto boot

{% endif %}
{% endfor %}

:boot
imgfree
kernel ${url}vmlinuz netboot=${url} loadsrm=000-core.srm,001-xorg.srm,002-xfce.srm,003-kl.srm,004-krt.srm,005-bases.srm,008-firefox.srm net.ifnames=0 dodhcp dostartx initrd=initrd.xz initrd=initrd
initrd ${url}initrd.xz
initrd ${url}initrd
boot

:live_exit
clear menu
exit 0

0 comments on commit 9304e1b

Please sign in to comment.