Uploaded image for project: 'Product Technical Learning'
  1. Product Technical Learning
  2. PTL-15393

Hostname command output doesn't match the exercise

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • RH124 - RHEL10.0-en-3-20250821
    • RH124
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide

      Expected output of the command "hostname -A":

      workstation.lab.example.com workstation

       

      Actual output:
      workstation.lab.example.com

      Show
      Expected output of the command "hostname -A": workstation.lab.example.com workstation   Actual output: workstation.lab.example.com
    • de-DE (German), en-US (English), fr-FR (French)

      Please fill in the following information:


      URL: https://rol.redhat.com/rol/app/courses/rh124-10.0/pages/ch03s03
      Reporter RHNID: skareiva
      Section Title:                                                                        

      Issue description

      Hostname command does not include the short hostname in the output. 

      The grading script evaluates and expects it to include the "workstation" next to FQDN

      Steps to reproduce:

      Execute the solution for ch03s03

      Workaround:

      append "workstation" to the end of the my_task.txt line 1

      Expected result:

              zoltanmolnar Zoltan Molnar
              skareiva Simonas Kareiva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: