A generic Deb 11 image - not one we "own".

On Mon, Oct 23, 2023 at 8:50 AM Dick Visser <[email protected]> wrote:

> What AMI are you using?
>
> On Mon, 23 Oct 2023 at 13:34, Kathy Lyons <[email protected]> wrote:
>
>> Dick - just this morning I went to update packages on an AWS instance and
>> it failed because the disk was not /dev/sda.  I had to logon to the box,
>> issue apt update -y, then a dialog popped up asking me for the drive to
>> install grub-pc on.
>>
>>
>> On Mon, Oct 23, 2023 at 7:31 AM Kathy Lyons <[email protected]> wrote:
>>
>>> That's great - thank you!
>>>
>>> Now, does anyone know how I can do an "update grub-pc" with that
>>> particular hard drive so it doesn't prompt me for the disk drive?
>>>
>>> On Mon, Oct 23, 2023 at 7:15 AM Dick Visser <[email protected]> wrote:
>>>
>>>> What exactly do you mean by 'update packages'?
>>>> We're using Debian EC2 instances and never had to bother with manually
>>>> selecting disks/devices...
>>>>
>>>>
>>>>
>>>> On Mon, 23 Oct 2023 at 12:14, Kathy L <[email protected]> wrote:
>>>>
>>>>> We are trying to update packages on several AWS servers via ansible.
>>>>> In the beginning of our playbook we have the environment to noninteractive
>>>>> like this:
>>>>>     environment:
>>>>>        DEBIAN_FRONTEND: noninteractive
>>>>>
>>>>> When I run an update (or try to install anything, I get the error
>>>>> stating "/dev/sda does not exist". That is because for example, when
>>>>> provisioning AWS nodes, the disk type is not /dev/sda but something else.
>>>>>
>>>>> My question is how do i run update grub-pc with a specific disk?  I'm
>>>>> assuming I would get the disk "name" from ansible_facts (devices), grab 
>>>>> the
>>>>> first disk, then run something similar to  "apt install grub-pc 
>>>>> /dev/nvme01"
>>>>>
>>>>> Is there a way to do this?  I tried the line above and it failed and
>>>>> I'm out of ideas.
>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Ansible Project" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to [email protected].
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/ansible-project/2d19e75c-e914-48ce-af23-7d5ec79c2872n%40googlegroups.com
>>>>> <https://groups.google.com/d/msgid/ansible-project/2d19e75c-e914-48ce-af23-7d5ec79c2872n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>>
>>>> --
>>>> You received this message because you are subscribed to a topic in the
>>>> Google Groups "Ansible Project" group.
>>>> To unsubscribe from this topic, visit
>>>> https://groups.google.com/d/topic/ansible-project/7EUtcfIe23E/unsubscribe
>>>> .
>>>> To unsubscribe from this group and all its topics, send an email to
>>>> [email protected].
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/ansible-project/CAF8BbLaxPOjwSUUMLshJyZ4k9mv05TEMjV5Ud-T2dHv-6jifZg%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/ansible-project/CAF8BbLaxPOjwSUUMLshJyZ4k9mv05TEMjV5Ud-T2dHv-6jifZg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ansible Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/ansible-project/CAK9%2BsMepmP9hAV9BaL5BKp2veFry_%3DMEvKyMiqrDMfZ3LKAeew%40mail.gmail.com
>> <https://groups.google.com/d/msgid/ansible-project/CAK9%2BsMepmP9hAV9BaL5BKp2veFry_%3DMEvKyMiqrDMfZ3LKAeew%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/7EUtcfIe23E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAF8BbLZL97f4tBQXXoztNNsGi2fYynB3Mo%2BhRURC3fqd_ZDrxg%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAF8BbLZL97f4tBQXXoztNNsGi2fYynB3Mo%2BhRURC3fqd_ZDrxg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/CAK9%2BsMfEofZUinhY-%2Bw0kP4tXBPCzXYNs4Sy7%2BFxHRsJd8fdgQ%40mail.gmail.com.

Reply via email to