Re: Set hostname of guest during installation time

2020-11-05 Thread john doe
On 10/19/2020 6:03 PM, Michal Prívozník wrote: On 10/19/20 5:59 PM, john doe wrote: On 3/27/2020 5:13 PM, Michal Prívozník wrote: On 27. 3. 2020 16:48, Michal Prívozník wrote: On 27. 3. 2020 14:57, john doe wrote: Hi, I would like to set the hostname when installing a guest, with the below c

Re: Set hostname of guest during installation time

2020-10-19 Thread Michal Prívozník
On 10/19/20 5:59 PM, john doe wrote: On 3/27/2020 5:13 PM, Michal Prívozník wrote: On 27. 3. 2020 16:48, Michal Prívozník wrote: On 27. 3. 2020 14:57, john doe wrote: Hi, I would like to set the hostname when installing a guest, with the below command the hostname is not set to 'try06' in t

Re: Set hostname of guest during installation time

2020-10-19 Thread john doe
On 3/27/2020 5:13 PM, Michal Prívozník wrote: On 27. 3. 2020 16:48, Michal Prívozník wrote: On 27. 3. 2020 14:57, john doe wrote: Hi, I would like to set the hostname when installing a guest, with the below command the hostname is not set to 'try06' in the guest: virt-install --name=try06 --g

Re: Set hostname of guest during installation time

2020-05-05 Thread john doe
On 5/5/2020 11:37 AM, Michal Privoznik wrote: On 5/5/20 11:25 AM, john doe wrote: On 5/5/2020 10:41 AM, Michal Privoznik wrote: On 5/5/20 9:26 AM, john doe wrote: On 5/5/2020 8:29 AM, Michal Privoznik wrote: Is there a reason why you are using interface type='bridge' with the default netw

Re: Set hostname of guest during installation time

2020-05-05 Thread Michal Privoznik
On 5/5/20 11:25 AM, john doe wrote: On 5/5/2020 10:41 AM, Michal Privoznik wrote: On 5/5/20 9:26 AM, john doe wrote: On 5/5/2020 8:29 AM, Michal Privoznik wrote: Because interface type='bridge' and type='network' are not the same. The libvirt_guest plugin needs a list of MAC addresses because

Re: Set hostname of guest during installation time

2020-05-05 Thread john doe
On 5/5/2020 10:41 AM, Michal Privoznik wrote: On 5/5/20 9:26 AM, john doe wrote: On 5/5/2020 8:29 AM, Michal Privoznik wrote: Because interface type='bridge' and type='network' are not the same. The libvirt_guest plugin needs a list of MAC addresses because it tries to find a match across libvi

Re: Set hostname of guest during installation time

2020-05-05 Thread Michal Privoznik
On 5/5/20 9:26 AM, john doe wrote: On 5/5/2020 8:29 AM, Michal Privoznik wrote: Because interface type='bridge' and type='network' are not the same. The libvirt_guest plugin needs a list of MAC addresses because it tries to find a match across libvirt domain name -> list of domain's MAC addresse

Re: Set hostname of guest during installation time

2020-05-05 Thread john doe
On 5/5/2020 8:29 AM, Michal Privoznik wrote: On 5/5/20 8:11 AM, john doe wrote: On 3/30/2020 4:10 PM, Michal Prívozník wrote: On 30. 3. 2020 15:26, john doe wrote: On 3/30/2020 1:20 PM, Andrea Bolognani wrote: On Mon, 2020-03-30 at 12:04 +0200, Michal Prívozník wrote: On 27. 3. 2020 20:49, j

Re: Set hostname of guest during installation time

2020-05-04 Thread Michal Privoznik
On 5/5/20 8:11 AM, john doe wrote: On 3/30/2020 4:10 PM, Michal Prívozník wrote: On 30. 3. 2020 15:26, john doe wrote: On 3/30/2020 1:20 PM, Andrea Bolognani wrote: On Mon, 2020-03-30 at 12:04 +0200, Michal Prívozník wrote: On 27. 3. 2020 20:49, john doe wrote: If my understanding is correct,

Re: Set hostname of guest during installation time

2020-05-04 Thread john doe
On 3/30/2020 4:10 PM, Michal Prívozník wrote: On 30. 3. 2020 15:26, john doe wrote: On 3/30/2020 1:20 PM, Andrea Bolognani wrote: On Mon, 2020-03-30 at 12:04 +0200, Michal Prívozník wrote: On 27. 3. 2020 20:49, john doe wrote: If my understanding is correct, using 'try06' or 'debian' should d

Re: Set hostname of guest during installation time

2020-03-30 Thread Michal Prívozník
On 30. 3. 2020 15:26, john doe wrote: > On 3/30/2020 1:20 PM, Andrea Bolognani wrote: >> On Mon, 2020-03-30 at 12:04 +0200, Michal Prívozník wrote: >>> On 27. 3. 2020 20:49, john doe wrote: If my understanding is correct, using 'try06' or 'debian' should do the same thing? >>> >>> Yes, th

Re: Set hostname of guest during installation time

2020-03-30 Thread john doe
On 3/30/2020 1:20 PM, Andrea Bolognani wrote: > On Mon, 2020-03-30 at 12:04 +0200, Michal Prívozník wrote: >> On 27. 3. 2020 20:49, john doe wrote: >>> If my understanding is correct, using 'try06' or 'debian' should do the >>> same thing? >> >> Yes, that is the idea. However, these plugins were no

Re: Set hostname of guest during installation time

2020-03-30 Thread Andrea Bolognani
On Mon, 2020-03-30 at 12:04 +0200, Michal Prívozník wrote: > On 27. 3. 2020 20:49, john doe wrote: > > If my understanding is correct, using 'try06' or 'debian' should do the > > same thing? > > Yes, that is the idea. However, these plugins were not introduced at the > same time. I think that espe

Re: Set hostname of guest during installation time

2020-03-30 Thread Michal Prívozník
On 27. 3. 2020 20:49, john doe wrote: > On 3/27/2020 8:29 PM, john doe wrote: >> On 3/27/2020 7:36 PM, Michal Prívozník wrote: >>> On 27. 3. 2020 19:23, john doe wrote: Okay, I have installed the pluging, do you mind explaning how this should work?: $ grep host /etc/ns* hos

Re: Set hostname of guest during installation time

2020-03-27 Thread john doe
On 3/27/2020 8:29 PM, john doe wrote: > On 3/27/2020 7:36 PM, Michal Prívozník wrote: >> On 27. 3. 2020 19:23, john doe wrote: >>> Okay, I have installed the pluging, do you mind explaning how this >>> should work?: >>> >>> $ grep host /etc/ns* >>> hosts: files libvirt_guest dns >>> >>> >>

Re: Set hostname of guest during installation time

2020-03-27 Thread john doe
On 3/27/2020 7:36 PM, Michal Prívozník wrote: > On 27. 3. 2020 19:23, john doe wrote: >> Okay, I have installed the pluging, do you mind explaning how this >> should work?: >> >> $ grep host /etc/ns* >> hosts: files libvirt_guest dns >> >> >> If I'm correct, following your example, I shoul

Re: Set hostname of guest during installation time

2020-03-27 Thread Michal Prívozník
On 27. 3. 2020 19:23, john doe wrote: > Okay, I have installed the pluging, do you mind explaning how this > should work?: > > $ grep host /etc/ns* > hosts: files libvirt_guest dns > > > If I'm correct, following your example, I should be able to do: > > $ host try06 > > What am I mi

Re: Set hostname of guest during installation time

2020-03-27 Thread john doe
On 3/27/2020 5:28 PM, Michal Prívozník wrote: > On 27. 3. 2020 17:23, john doe wrote: >> On 3/27/2020 5:13 PM, Michal Prívozník wrote: >>> On 27. 3. 2020 16:48, Michal Prívozník wrote: On 27. 3. 2020 14:57, john doe wrote: > Hi, > > I would like to set the hostname when installing

Re: Set hostname of guest during installation time

2020-03-27 Thread john doe
On 3/27/2020 5:29 PM, Andrea Bolognani wrote: > On Fri, 2020-03-27 at 16:48 +0100, Michal Prívozník wrote: >> On 27. 3. 2020 14:57, john doe wrote: >>> Hi, >>> >>> I would like to set the hostname when installing a guest, with the below >>> command the hostname is not set to 'try06' in the guest: >

Re: Set hostname of guest during installation time

2020-03-27 Thread Andrea Bolognani
On Fri, 2020-03-27 at 16:48 +0100, Michal Prívozník wrote: > On 27. 3. 2020 14:57, john doe wrote: > > Hi, > > > > I would like to set the hostname when installing a guest, with the below > > command the hostname is not set to 'try06' in the guest: > > > > virt-install --name=try06 --graphic none

Re: Set hostname of guest during installation time

2020-03-27 Thread Michal Prívozník
On 27. 3. 2020 17:23, john doe wrote: > On 3/27/2020 5:13 PM, Michal Prívozník wrote: >> On 27. 3. 2020 16:48, Michal Prívozník wrote: >>> On 27. 3. 2020 14:57, john doe wrote: Hi, I would like to set the hostname when installing a guest, with the below command the hostname is n

Re: Set hostname of guest during installation time

2020-03-27 Thread john doe
On 3/27/2020 5:13 PM, Michal Prívozník wrote: > On 27. 3. 2020 16:48, Michal Prívozník wrote: >> On 27. 3. 2020 14:57, john doe wrote: >>> Hi, >>> >>> I would like to set the hostname when installing a guest, with the below >>> command the hostname is not set to 'try06' in the guest: >>> >>> virt-i

Re: Set hostname of guest during installation time

2020-03-27 Thread Michal Prívozník
On 27. 3. 2020 16:48, Michal Prívozník wrote: > On 27. 3. 2020 14:57, john doe wrote: >> Hi, >> >> I would like to set the hostname when installing a guest, with the below >> command the hostname is not set to 'try06' in the guest: >> >> virt-install --name=try06 --graphic none --pxe --network brid

Re: Set hostname of guest during installation time

2020-03-27 Thread Michal Prívozník
On 27. 3. 2020 14:57, john doe wrote: > Hi, > > I would like to set the hostname when installing a guest, with the below > command the hostname is not set to 'try06' in the guest: > > virt-install --name=try06 --graphic none --pxe --network bridge=virbr0 This is the name of the guest registered

Set hostname of guest during installation time

2020-03-27 Thread john doe
Hi, I would like to set the hostname when installing a guest, with the below command the hostname is not set to 'try06' in the guest: virt-install --name=try06 --graphic none --pxe --network bridge=virbr0 How can I set the hostname of the guest during installation time? I realy appriciate the