Is it possible to use custom images for VM creation?

Donatas 21 Reputation points
2022-03-09T09:24:32.89+00:00

Hello,

I would like to create a virtual machine with Kali server OS.

Seeing the marketplace, only GUI version of Kali is available, and wanted to ask if its possible just to select a custom image for the VM?

Or are there other ways besides marketplace to seek other images?

Thank you

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,086 questions
0 comments No comments
{count} votes

Accepted answer
  1. Manu Philip 16,966 Reputation points MVP
    2022-03-09T10:25:34.5+00:00

    You may bring your own Virtual machine in to Azure. See the methods available here: vm-move-overview

    One of the easy method is to prepare it in your local computer or on-premises server using virtualization platforms like hyper-v/vmware/virtual box etc. as per your custom OS requirement first. Then, the VHD image can be uploaded to azure storage. With this image, you can create the same image in Azure Stack Hub.

    Reference here: vm-move-specialized

    ----------

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Carlos Solís Salazar 16,431 Reputation points
    2022-03-09T10:17:33.95+00:00

    Hi @Donatas
    Thanks for reaching out to Q&A.

    If you want a custom Kali Linux, I recommend you install a Debian VM, and then install kali on your VM.

    This post can help you in your customization https://itsdailytech.com/kali-linux-tools-in-debian/1947/

    With the following lines you can install kali on Debian

    sudo echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" >> /etc/apt/sources.list  
    sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys ED444FF07D8D0BF6  
    sudo apt update  
    sudo apt-get upgrade  
    sudo apt install kali-tools-top10  
    

    Hope this helps,
    Carlos Solís Salazar

    ----------

    Please "Accept as Answer" and/or Upvote if any of the above helped so that, it can help others in the community looking for remediation for similar issues.

    1 person found this answer helpful.
    0 comments No comments