Anaconda text install #162

Closed
AlanMarshall wants to merge 2 commits from anaconda-txt into develop
3 changed files with 30 additions and 5 deletions

View File

@ -0,0 +1,30 @@
{
"area": [
{
"xpos": 159,
"type": "match",
"ypos": 65,
"height": 14,
"width": 96
},
{
"ypos": 258,
"type": "match",
"xpos": 55,
"width": 128,
"height": 13
},
{
"height": 15,
"width": 128,
"xpos": 1,
"type": "match",
"ypos": 224
}
],
"properties": [],
"tags": [
"anaconda_main_hub_text",
"ENV-DISTRI-rocky"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

View File

@ -105,11 +105,6 @@ sub run {
console_type_wait("1\n"); # create new
console_type_wait("3\n"); # set username
console_type_wait("$username\n");
# from Rawhide-20190503.n.0 (F31) onwards, 'use password' is default
if ((get_release_number() < 31) || (get_version_major() < 9)) {
# typing "4\n" on abrt screen causes system to reboot, so be careful
run_with_error_check(sub { console_type_wait("4\n") }, $error); # use password
}
console_type_wait("5\n"); # set password
console_type_wait("$userpwd\n");
console_type_wait("$userpwd\n");