Skip to content

Commit d4af9c5

Browse files
committed
WiP
Signed-off-by: Mateusz Maciejewski <[email protected]>
1 parent ac49a44 commit d4af9c5

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

dasharo-compatibility/os-bsd-anysense.robot

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,43 @@ Enter pfSense Rescue Shell
8383
Write Into Terminal root
8484
Write Into Terminal root
8585

86+
Enter OPN sense Rescue Shell:
87+
Read From Terminal FreeBSD/amd64 (OPNsense.localdomain) (ttyu0)
88+
Read From Terminal Until login:
89+
Write Into Terminal root
90+
Read From Terminal Until Password:
91+
Write Into Terminal opnsense
92+
Read From Terminal Until Enter an option:
93+
Write Into Terminal 8
94+
8695
Install psSense On Sata Drive
8796
${welcome_menu}= Read From Terminal Until OK
8897
# end would be 5 but it's 3 due to two empty lines
8998
${welcome_construction}= Parse Menu Snapshot Into Construction ${welcome_menu} 5 3
9099
Enter Submenu From Snapshot ${welcome_construction} Install${SPACE * 13}Install pfSense
91100
${partition_construction}= Get Submenu Construction OK 5 3
92101
Enter Submenu From Snapshot ${partition_construction} Auto (ZFS)${SPACE * 2}Guided Root-on-ZFS
93-
${pool_suspect}= Read From Terminal Until <${SPACE * 2}O
102+
Read From Terminal Until ZFS Configuration
103+
${pool_suspect}= Read From Terminal
104+
${pool_taken}= Run Keyword And Return Status Should Contain ${pool_suspect} pfSense is already taken, please enter a name for the ZFS pool
105+
${my_tail2}= Read From Terminal
106+
Log To Console "my tail2"
107+
Log To Console ${my_tail2}
108+
IF ${pool_taken} == ${TRUE}
109+
Press Enter
110+
${pool_suspect}= Read From Terminal Until qqqqqj
111+
END
112+
Log To Console "pool suspect"
113+
Log To Console ${pool_suspect}
114+
${configure_construction}= Parse Menu Snapshot Into Construction ${pool_suspect} 5 1
115+
#Enter Submenu From Snapshot ${configure_construction} T Pool Type/Disks:${SPACE * 3}stripe: 0 disks
116+
Press Key N Times And Enter 1 ${ARROW_DOWN}
117+
${my_tail3}= Read From Terminal
118+
Log To Console "my tail3"
119+
Log To Console ${my_tail3}
120+
${select_virtual}= Get Submenu Construction OK 5 3
121+
#Read From Terminal Until Select Virtual Device type
122+
#${select_virtual}= Read From Terminal Until Cancel
94123

95124
Boot pf Sense
96125
[Documentation] PFBOOT -> /efi/freebsd/loader.efi

0 commit comments

Comments
 (0)