Skip to content

Copy the /etc/hostname to the target system if exist#2226

Merged
teclator merged 4 commits intomasterfrom
copy_hostname
Mar 29, 2025
Merged

Copy the /etc/hostname to the target system if exist#2226
teclator merged 4 commits intomasterfrom
copy_hostname

Conversation

@teclator
Copy link
Contributor

@teclator teclator commented Mar 28, 2025

Problem

When an static hostname exists it should be copied to the installed system at the end of the installation but it is not.

Also reported as https://bugzilla.suse.com/show_bug.cgi?id=1240439

Solution

Copy the /etc/hostname when it exists.

Testing

  • Added a new unit test

@teclator teclator merged commit 5d5f2c8 into master Mar 29, 2025
11 checks passed
@teclator teclator deleted the copy_hostname branch March 29, 2025 07:52
@kobliha
Copy link
Contributor

kobliha commented Apr 1, 2025

FTR, reported as https://bugzilla.suse.com/show_bug.cgi?id=1240439

@imobachgs imobachgs mentioned this pull request Apr 22, 2025
imobachgs added a commit that referenced this pull request Apr 22, 2025
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request Apr 23, 2025
https://build.opensuse.org/request/show/1272126
by user IGonzalezSosa + anag_factory
- Version 14

- Fixed detection of iBFT (bsc#1239046).
- Removed offload_card from iSCSI (bsc#1231385).

- bsc#1238038
  - copy NVMe configuration files from inst-sys to target
    (gh#agama-project/agama#2257).

- Allow to specify extra kernel parameters for bootloader
  (jsc#PED-10810)

- Add auto-installation support for iSCSI
 (gh#agama-project/agama#2231).

- Write the registration URL to the installed system (bsc#1239316).

- Make the extension version attribute optional, search the version
  automatically if it is missing (related to jsc#AGM-100)

- Allow to specify bootloader timeout in profile (jsc#PED-10810)

- Copy the hostname to the installed system if it exists
  (gh#agama-project/agama#2226).

- Properly map AutoYaST scripts "source" to "content"
- Always display the patterns
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants