Giter Site home page Giter Site logo

kali-cloud-build's People

Contributors

adangel avatar andsens avatar ckaenzig avatar crigor avatar dulin avatar fredj avatar jkaplowitz avatar joshkraemer avatar kenshaw avatar mbornoz avatar mika avatar offensive-security avatar soult avatar ssgelm avatar tmatilai avatar und3rf10w avatar yanfalies avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

kali-cloud-build's Issues

Install hangs on Run task: 11-attach-volume

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?

AWS EC2 Fails to build

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

  • make[1]: Leaving directory `/home/ubuntu/kali-cloud-build/euca2ools-1.3.2/euca2ools'
    Run task: 06-patch-boto
    Run task: 07-host-information
    Run task: 10-create-volume
    The EBS volume id is vol-710652da
    Run task: 11-attach-volume
    .
    VOLUME vol-710652da
    .
    Run task: 12-format-volume
    Formatting the device /dev/xvdf with ext4
    mke2fs 1.42.9 (4-Feb-2014)
    Filesystem label=
    OS type: Linux
    Block size=4096 (log=2)
    Fragment size=4096 (log=2)
    Stride=0 blocks, Stripe width=0 blocks
    1310720 inodes, 5242880 blocks
    262144 blocks (5.00%) reserved for the super user
    First data block=0
    Maximum filesystem blocks=4294967296
    160 block groups
    32768 blocks per group, 32768 fragments per group
    8192 inodes per group
    Superblock backups stored on blocks:
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
    4096000

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......................................

The region eu-central-1 is unkown.

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

  • make[1]: Leaving directory `/root/kali-cloud-build/euca2ools-1.3.2/euca2ools'
    Run task: 06-patch-boto
    Run task: 07-host-information
    The region eu-central-1 is unkown.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.