Giter VIP home page Giter VIP logo

vagrant-debian-jessie's Introduction

:suspect: Welcome to my GitHub profile! :godmode:

I lead the architectural design of high-performance microservices at a dynamic AdTech company. I'm also a passionate cybersecurity enthusiast who thrives on exploration and embraces the digital nomad lifestyle.

var dotzero = struct {
	about    any
	tech     []string
	contacts any
}{
	about: struct {
		name    string
		company string
		role    string
	}{
		"Alexander", "AdTech", "TeamLead",
	},
	tech: []string{"golang", "python", "shell scripts"},
	contacts: struct {
		telegram string
		gmail    string
	}{
		telegram: "@dot_zero",
		gmail:    "[email protected]",
	},
}

vagrant-debian-jessie's People

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

vagrant-debian-jessie's Issues

mkisofs missing on some Linux hosts

The genisoimage package used to provide an alias to mkisofs but it has been removed in recent releases of the package, making the script fails on Debian Wheezy. ( see http://ftp-master.metadata.debian.org/changelogs//main/c/cdrkit/cdrkit_1.1.11-2_changelog )

Would it possible to change the first line of the script as such ?

hash mkisofs 2>/dev/null || hash genisoimage 2>/dev/null && alias mkisofs=genisoimage || { echo >&2 "ERROR: mkisofs or genisoimage not found.  Aborting."; exit 1; }

If you want I can provide a pull request.

ERROR: MD5 does not match

After run build.sh I have this error:

ERROR: MD5 does not match. Got 5ad6199024b49f8458755350f87a9791 instead of 0b31bccccb048d20b551f70830bb7ad0. Aborting.

No init found

I modify ur script to build the last debian but i have a no init found when vm start.

I'm on ubuntu 13.04 with virtuabox 4.3.10. Do u have an idea how to solve this bug ?

image2993

wheezy != squeeze?

edited: THIS CAN BE CLOSED/DELETED

was not able to reproduce. building the box the 2nd time it worked like a charm!

Hi,

just tried that script which seems to be very promising. Had never anything to do with debian before but was looking for a wheezy vagrant box.

[debian-wheezy-64] Exporting VM...
[debian-wheezy-64] Compressing package to: /Users/c51/vagrant/vagrant-debian-wheezy-64/package.box
lanza:vagrant-debian-wheezy-64 c51$ vagrant box add debian71 package.box 
Downloading or copying the box...
Extracting box...te: 35.0M/s, Estimated time remaining: --:--:--)
Successfully added box 'debian71' with provider 'virtualbox'!
lanza:vagrant-debian-wheezy-64 c51$ cd ..
lanza:vagrant c51$ cd _rotserv/
lanza:_rotserv c51$ vagrant init debian71
A `Vagrantfile` has been placed in this directory. You are now
ready to `vagrant up` your first virtual environment! Please read
the comments in the Vagrantfile as well as documentation on
`vagrantup.com` for more information on using Vagrant.
lanza:_rotserv c51$ vagrant up
vBringing machine 'default' up with 'virtualbox' provider...
[default] Setting the name of the VM...
[default] Clearing any previously set forwarded ports...
[default] Creating shared folders metadata...
[default] Clearing any previously set network interfaces...
[default] Preparing network interfaces based on configuration...
[default] Forwarding ports...
[default] -- 22 => 2222 (adapter 1)
[default] Booting VM...
[default] Waiting for VM to boot. This can take a few minutes.
[default] VM booted and ready for use!
[default] Mounting shared folders...
[default] -- /vagrant
lanza:_rotserv c51$ vagrant ssh
Linux debian-squeeze 2.6.32-5-amd64 #1 SMP Fri Feb 15 15:39:52 UTC 2013 x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Aug 24 12:21:54 2013 from 10.0.2.2
vagrant@debian-squeeze:~$ cat /etc/issue
Debian GNU/Linux 6.0 \n \l

This is weird, isn't it? imho nothing did go wrong...

MD5 does not match

Tried your script this morning, and got:

$ ./build.sh 
Downloading debian-7.2.0-amd64-netinst.iso ...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   349  100   349    0     0   1646      0 --:--:-- --:--:-- --:--:--  2566
100  222M  100  222M    0     0  2453k      0  0:01:32  0:01:32 --:--:-- 2529k
./build.sh: line 79: MD5: unbound variable
ERROR: MD5 does not match. Got  instead of b86774fe4de88be6378ba3d71b8029bd. Aborting.

Problem seems to be when extracting the MD5 out of the ISO. On my mac, I get:

$ md5 *.iso
MD5 (debian-testing-amd64-netinst.iso) = e1334d16f41fd0a9ff3c0719dc5847ec

So on line 79 of your script, we should have:

cut -d ' ' -f 4

instead of

cut -d ' ' -f 1

Waiting for installer to finish .....................

I've modified the following

ISO_URL="http://cdimage.debian.org/debian-cd/7.3.0/amd64/iso-cd/debian-7.3.0-amd64-CD-1.iso"
ISO_MD5="a0ef81b2429977b2cde6f068c1041900"

Download and VM box creation works fine.
But it loops here

Waiting for installer to finish ..........

After long long time waiting it seems to never finish ?

4.2 => 4.3 change: --sataportcount vs --portcount

I commented out the --portcount option to work around this issue on OSX, but I see over @ lesmyrmidons@49e5074 that this is a change in versions between recent versions of VirtualBox.

Is the switch required? I see the default of 30 can be problematic but didn't experience any issue with it removed (OSX).

If not required perhaps it could be removed, else we need to detect the correct VBox version and modify the parameters.

Cannot build: Inconsistency

I cannot build a debian image with VB 4.3.6r91406.

Here's the error I'm getting:

[...]
Extracting [BOOT]/Bootable_NoEmulation.img

Everything is Ok

Folders: 385
Files: 880
Size: 257415036
Compressed: 231735296
Backing up current init.rd ...
Installing new initrd.gz ...
dev/null: Can't create 'dev/null'
dev/console: Can't create 'dev/console'
28546 blocks
28555 blocks
Cleaning up Permissions ...
Replacing isolinux config ...
Add late_command script ...
Running mkisofs ...
Creating VM Box...
Virtual machine 'debian-wheezy-64' is created and registered.
UUID: 7459e1fa-9d08-46bd-9749-c5ffd259773e
Settings file: '/Users/fkochem/temp/vagrant-debian-wheezy-64/build/vbox/debian-wheezy-64/debian-wheezy-64.vbox'
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Disk image created. UUID: d64c4516-9189-45d8-b1bb-c9bf35fae953
Waiting for VM "debian-wheezy-64" to power on...
VM "debian-wheezy-64" has been successfully started.
Waiting for installer to finish .............................
Building Vagrant Box ...
[debian-wheezy-64] Clearing any previously set forwarded ports...
A directory was not specified to package. This should never happen
and is a result of an internal inconsistency.

perl: warning: Please check that your locale settings:

vagrant@vagrant-debian-wheezy:~$ perl -e exit
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = "de_DE.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Passwordless sudo doesn't work in some cases

Are you sure that the following line is correct?

echo "%sudo   ALL=(ALL:ALL) NOPASSWD: ALL" >> /etc/sudoers

It caused a hard to track down issue where Ansible was not able to execute commands as a different user (specifically, as the postgres user after installing PostgreSQL). The solution was to change that line in /etc/sudoers to:

%sudo   ALL=(ALL) NOPASSWD: ALL

This is related, but the accepted answer is a workaround, not a solution.

cdrtools problem

Not really your problem, but you might know a workaround:

$ brew install cdrtools
==> Installing cdrtools dependency: smake
==> Downloading ftp://ftp.berlios.de/pub/smake/smake-1.2.3.tar.bz2

curl: (7) Failed connect to ftp.berlios.de:21; Connection refused
Error: Failed to download resource "smake"
Download failed: ftp://ftp.berlios.de/pub/smake/smake-1.2.3.tar.bz2

Looks like cdrtools is no longer compiling on brew...

BSD Tar Not Extracting ISO

I was having problems getting bsdtar to work. I have the latest version (3.1.2) but it just didn't do anything when I tried to use it on the debian wheezy ISO. I got frustrated and ended up making a few small changes to the build.sh script to use 7z instead. This seemed to work and I have a box now.

I have a fork with the change in it if you want: cbilson/vagrant-debian-wheezy-64@d7e4342. It looks like there is another issue with linux compatibility that involves 7z, so I will refrain from adding to the confusion with another pull request.

Thanks!

Require CPIO support

My script entered an infinite loop (during "waiting for installer to finish") because cpio operations failed.

Should this work also when behind a proxy?

I'm currently behind a corporate proxy, and as the VM is headless and only says "Waiting for installer to finish................" with a lot more dots, I'm not sure, that it is working at all.
Any advice, what how to check what's going on?

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.