aau-network-security / haaukins

A Highly Accessible and Automated Virtualization Platform for Security Education
https://general.haaukins.com
Apache License 2.0
187 stars 39 forks source link

new kali images require to accept licence before importing #705

Closed mrtrkmn closed 2 years ago

mrtrkmn commented 2 years ago

Haaukins is failing when try to import new images downloaded from Kali official website. In order to overcome with this situation following command needs to be written

$  vboxmanage import <vm-path> --vsys 0 --eula accept --vmname <something>

VBoxManage: error: Cannot import until the license agreement listed above is accepted.


vboxmanage import /kali.ova --vsys 0 --vmname something
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /home/thinkpad/Documents/project/frontends/kali.ova...
OK.
Disks:
  vmdisk1       85899345920     -1      http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized       kali-linux-2022.1-virtualbox-amd64-disk001.vmdk -1      -1    

Virtual system 0:
 0: Suggested OS type: "Debian_64"
    (change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
 1: VM name specified with --vmname: "somthing"
 2: Suggested VM group "/"
    (change with "--vsys 0 --group <group>")
 3: Suggested VM settings file name "/home/thinkpad/VirtualBox VMs/kali-linux-2022.1-virtualbox-amd64/kali-linux-2022.1-virtualbox-amd64.vbox"
    (change with "--vsys 0 --settingsfile <filename>")
 4: Suggested VM base folder "/home/thinkpad/VirtualBox VMs"
    (change with "--vsys 0 --basefolder <path>")
 5: Product (ignored): Kali Linux
 6: Vendor (ignored): Offensive Security
 7: Version (ignored): Rolling (2022.1) x64
 8: ProductUrl (ignored): https://www.kali.org/
 9: VendorUrl (ignored): https://www.offensive-security.com/
10: Description "Kali Rolling (2022.1) x64
2022-02-10

- - - - - - - - - - - - - - - - - -

Username: kali
Password: kali
(US keyboard layout)

- - - - - - - - - - - - - - - - - -

* Kali Homepage:
https://www.kali.org/

* Documentation:
https://www.kali.org/docs/

* Kali Tools:
https://www.kali.org/tools/

* Forum/Community Support:
https://forums.kali.org/

* IRC Channel: 
ircs://irc.oftc.net:6697/#Kali-Linux
https://www.kali.org/docs/community/kali-linux-irc-channel/
"
    (change with "--vsys 0 --description <desc>")
11: End-user license agreement
    (display with "--vsys 0 --eula show";
    accept with "--vsys 0 --eula accept")
12: Number of CPUs: 2
    (change with "--vsys 0 --cpus <n>")
13: Guest memory: 2048 MB
    (change with "--vsys 0 --memory <MB>")
14: Sound card (appliance expects "", can change on import)
    (disable with "--vsys 0 --unit 14 --ignore")
15: USB controller
    (disable with "--vsys 0 --unit 15 --ignore")
16: Network adapter: orig NAT, config 3, extra slot=0;type=NAT
17: CD-ROM
    (disable with "--vsys 0 --unit 17 --ignore")
18: IDE controller, type PIIX4
    (disable with "--vsys 0 --unit 18 --ignore")
19: IDE controller, type PIIX4
    (disable with "--vsys 0 --unit 19 --ignore")
20: SATA controller, type AHCI
    (disable with "--vsys 0 --unit 20 --ignore")
21: Hard disk image: source image=kali-linux-2022.1-virtualbox-amd64-disk001.vmdk, target path=kali-linux-2022.1-virtualbox-amd64-disk001.vmdk, controller=20;channel=0
    (change target path with "--vsys 0 --unit 21 --disk path";
    disable with "--vsys 0 --unit 21 --ignore")
**VBoxManage: error: Cannot import until the license agreement listed above is accepted.**
mrtrkmn commented 2 years ago

No issues found whether image has licence to be accepted or not. Hence, the issue is closed