<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Lars,</p>
<p><br>
</p>
<p>I am not able to test the second option, Getting some weird error.</p>
<p>I have not created base image before. May be there is something wrong in what I am doing.</p>
<br>
<p></p>
<div>ë  vm_base  » sudo vmdebootstrap --verbose --size 5G --distribution stretch --grub --arch x86_64 --package openssh-server --package sudo --serial-console --enable-dhcp --image test.raw --no-systemd-networkd<br>
Creating disk image<br>
Creating partitions<br>
Creating filesystem ext4<br>
Mounting /dev/mapper/loop0p1 on /tmp/tmp1E7gcb<br>
Debootstrapping stretch [x86_64]<br>
EEEK! Something bad happened...<br>
command failed: ['debootstrap', '--arch=x86_64', '--include=openssh-server,acpid,sudo,linux-image-x86_64', 'stretch', '/tmp/tmp1E7gcb', 'http://httpredir.debian.org/debian/']<br>
I: Retrieving InRelease <br>
I: Retrieving Release <br>
I: Retrieving Release.gpg <br>
I: Checking Release signature<br>
I: Valid Release signature (key id 067E3C456BAE240ACEE88F6FEF0F382A1A7B6500)<br>
E: Invalid Release file, no entry for main/binary-x86_64/Packages<br>
<br>
<br>
Cleaning up<br>
Umounting /tmp/tmp1E7gcb<br>
ERROR: command failed: ['debootstrap', '--arch=x86_64', '--include=openssh-server,acpid,sudo,linux-image-x86_64', 'stretch', '/tmp/tmp1E7gcb', 'http://httpredir.debian.org/debian/']<br>
I: Retrieving InRelease <br>
I: Retrieving Release <br>
I: Retrieving Release.gpg <br>
I: Checking Release signature<br>
I: Valid Release signature (key id 067E3C456BAE240ACEE88F6FEF0F382A1A7B6500)<br>
E: Invalid Release file, no entry for main/binary-x86_64/Packages<br>
</div>
<p></p>
<p><br>
</p>
<p>Thanks</p>
<p>Mari<br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Mariappan Ramasamy <rmariappan@outlook.com><br>
<b>Sent:</b> Monday, July 17, 2017 12:46 AM<br>
<b>To:</b> Lars Wirzenius<br>
<b>Cc:</b> vmdebootstrap-devel@lists.alioth.debian.org<br>
<b>Subject:</b> Re: [Vmdebootstrap-devel] Two different Stretch vagrant boxes getting same IP address</font>
<div> </div>
</div>
<div>
<div name="messageBodySection">Hi Lars<br>
<br>
Thanks for replying.<br>
<br>
1. If I delete /etc/machine-id, dhcp discover does not even starts<br>
<br>
2. I am not running the vmdebootstrap directly, I noted it is getting called from Debian-vm-templates for creating vagrant images.<br>
I can run locally. It will take some more time. Will revert once I test that.</div>
<div name="messageSignatureSection"><br>
Thanks<br>
Mari</div>
<div name="messageReplySection"><br>
On 17 Jul 2017, 12:00 AM +0530, Lars Wirzenius <liw@liw.fi>, wrote:<br>
<blockquote type="cite">On Sat, Jul 15, 2017 at 01:33:51PM +0000, Mariappan Ramasamy wrote:<br>
<blockquote type="cite">After some analysis found both boxes are getting same IP address due<br>
to the Client Identifier(DHCP Option 61) used.<br>
</blockquote>
<br>
Does it help if you delete the /etc/machine-id file before the first<br>
boot?<br>
<br>
Or run vmdebootstrap with --no-systemd-networkd?<br>
<br>
--<br>
I want to build worthwhile things that might last. --joeyh<br>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>