offensive-security / kali-cloud-build Goto Github PK
View Code? Open in Web Editor NEWThis project forked from andsens/build-debian-cloud
Script to create Kali Linux Amazon Machine Images (AMIs)
This project forked from andsens/build-debian-cloud
Script to create Kali Linux Amazon Machine Images (AMIs)
Install hangs on step 11 using current ubuntu aws ami.
Run task: 05-install-euca2ools
Run task: 06-patch-boto
Run task: 07-host-information
Run task: 10-create-volume
The EBS volume id is AWS
Run task: 11-attach-volume
.............................................................................
I checked the AWS console, dont see the volume. So perhaps the volume is not being created?
Can you tell me if these scripts are compatible with Kali2 and Ubuntu 14 AWS instance?
UBUNTU 14
'BlockDeviceMapping' object has no attribute 'build_list_params'
An AMI is created but it fails to boot. Below is the output from the build scripts.
Run task: 01-packages
Run task: 01-packages-ec2
Run task: 03-build-info
Building image for kali sana
architecture: amd64
filesystem: ext4
volume size: 20 GB
locale: en_US
charmap: UTF-8
timezone: UTC
packages: udev openssh-server locales file grub-pc dhcpcd5
excluded packages: isc-dhcp-client isc-dhcp-common
Run task: 04-install-host-packages
Extracting templates from packages: 100%untu.com/ubuntu/ trusty/main python-boto all 2.20.1-2ubuntu2 [618 kB]
\ Running hooks in /etc/ca-certificates/update.d....done.
Run task: 05-install-euca2ools
Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
tune2fs 1.42.9 (4-Feb-2014)
Setting interval between checks to 0 seconds
Run task: 13-mount-volume
The volume is mounted at /target/vol-710652da.
Run task: 14-bootstrap
Creating the bootstrap tarball
/ I: Deleting target directory
Bootstrapping
/ I: Base system installed successfully.
Run task: 15-mount-specials
Run task: 20-locales
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
Generating locales (this might take a while)...
en_US.UTF-8... done
Generation complete.
Run task: 21-apt-sources
Run task: 22-apt-upgrade
\ Reading package lists...
Reading package lists... Done
Building dependency tree... Done
0 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
Run task: 30-grub
Generating grub configuration file ...
done
Run task: 31-fstab
Run task: 32-blacklist
Run task: 33-disable-gettys
sed: can't read /target/vol-710652da/etc/inittab: No such file or directory
sed: can't read /target/vol-710652da/etc/inittab: No such file or directory
sed: can't read /target/vol-710652da/etc/inittab: No such file or directory
sed: can't read /target/vol-710652da/etc/inittab: No such file or directory
sed: can't read /target/vol-710652da/etc/inittab: No such file or directory
sed: can't read /target/vol-710652da/etc/inittab: No such file or directory
Run task: 38-security
Shadow passwords are now on.
Run task: 39-dhcpcd-conf
Run task: 39-networking
Run task: 50-ec2-scripts
Run task: 51-init-scripts
Run task: 60-cleanup
Run task: 61-apt-cleanup
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Run task: 71-unmount-specials
Run task: 72-unmount-volume
Run task: 73-detach-volume
VOLUME vol-710652da
..
Run task: 80-ebs-snapshot
Creating snapshot of the EBS volume......................................
build fails with:
.```
/kali-cloud-build ec2 --secret-key XXX --access-key XXX
Run task: 01-packages
Run task: 01-packages-ec2
Run task: 03-build-info
Building image for kali sana
architecture: amd64
filesystem: ext4
volume size: 20 GB
locale: en_US
charmap: UTF-8
timezone: UTC
packages: udev openssh-server locales file grub-pc dhcpcd5
excluded packages: isc-dhcp-client isc-dhcp-common
Run task: 04-install-host-packages
Run task: 05-install-euca2ools
For the latest version of Kali the build fails
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.