VirtualBox localhost "Login incorrect"

0

I am new to virtual machines, Linux and amazon so please bare with me. I have installed the virtual machine according to amazon's instructions listed here.

I am able to boot in VirtualBox, but I am stuck on a sign in page that asks for:

localhost login:

rather than:

amazon login:

as I've seen others report.

Now I have not made changes to the *meta-data *file in the ISO image, so all it says is:

local-hostname: amazon

with some additional commented lines regarding 'network-interfaces' that I am unfamiliar with.

The server goes to "localhost" as a direct result of this, I guess? but I do not know the login for localhost and the users and passwords set in the user-data file do not work. If someone could point me in the right direction to set the proper network configuration or help with the credentials that would be greatly appreciated.

질문됨 일 년 전706회 조회
1개 답변
0

Hello,

I understand that you want to run Amazon Linux on premises and you are able to boot in VirtualBox but stuck on a sign in page that ask for hostname and login password and you didn’t make any changes to the meta-data file in the ISO image.

According to AWS documentation on how to run Amazon linux 2 on premises virtual machine you have to make changes as instructed in order to generate the seed.iso boot image you need to configure two files which are meta-data and user-data.

Steps to follow for how to successfully login in to your machine [1]:

  • You have to create a file named meta-data and edit with a text editor of your choice and then copy and paste the script given on the documentation. [1]
  • In the meta-data file you create and replace the default host-name with the name of your choice and configure network settings as required.
  • Save and close the meta-data file.
  • Create a file named user-data and copy and paste the scripted given [1] replace “plain_text_password” with password of you’re choice after save and close the file .
  • Create the sed.iso as instructed using meta-data and user-data file you created and run Command given a instructed [1].
  • Boot in VirtualBox the local-hostname will display the name you used when configuring the meta-data file.
  • For login use the password you used to create user-data file.
  • You will be able to login in to your virtual machine.

I hope the provided Information has been useful to you. If you have any other queries please do not hesitate to contact me back. I will be more than happy to help.

Have a great day ahead!

Best regards.

References:

[1] Run amazon linux on on premises using virtualBox - https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/amazon-linux-2-virtual-machine.html#amazon-linux-2-virtual-machine-prepare

AWS
답변함 9달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠