Uploaded image for project: 'anaconda installer'
  1. anaconda installer
  2. INSTALLER-4585

anaconda changes default target on bootc image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • 26Q1
    • None
    • None
    • None

      I have a bootc image with graphical.target as default target

      $ sudo podman run --rm quay.io/fedora-ostree-desktops/silverblue:43 systemctl get-default
      graphical.target

      I use bootc-image-builder (https://github.com/osbuild/bootc-image-builder) to build iso installer from this image

      When I install iso, anaconda change the default target to `multi-user.target` if I do not add `xconfig --startxonboot` in the kickstart file. But that should not necessary

      More info : https://github.com/osbuild/bootc-image-builder/issues/1176

      Reproducible: Always

      Steps to Reproduce:
      1. Build iso :

      sudo podman run \
      --rm \
      -it \
      --privileged \
      --pull=newer \
      --security-opt label=type:unconfined_t \
      -v ./config.toml:/config.toml:ro \
      -v ./output:/output \
      -v /var/lib/containers/storage:/var/lib/containers/storage \
      quay.io/centos-bootc/bootc-image-builder:latest \
      --type anaconda-iso \
      --use-librepo=True \
      quay.io/fedora-ostree-desktops/silverblue:43

      With this kickstart file :

      [customizations.installer.kickstart]
      contents = """
      text
      zerombr
      clearpart --all --initlabel
      rootpw password
      """

      2. Install iso on VM
      Actual Results:
      The VM will boot on text mode

      Expected Results:
      The VM should boot on graphical mode

      Additional Information:
      Anaconda 43.44

              Unassigned Unassigned
              kkoukiou Katerina Koukiou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: