Menu ▾ ▴

#415 ocs-iso -x "ip=eth0:xxx..."

open
nobody
None
5
2024-03-02
2024-02-29
No

I've "successfully" created a custom iso using ocs-iso like so

ocs-iso -x 'ip=eth0:192.168.0.1:255.255.255.0:192.168.0.254:8.8.8.8 ocs_daemonon="ssh" usercrypted=pw_hash' dummy

after bootin said image, /proc/cmdline shows:

BOOT_IMAGE=... etc. etc. etc. ip=<as specified> ... .... ... ip= net.ifnames=0 ... ... ...

However, the IP is not set!

To me it seems the 2nd occurence of "ip= " is the culprit. If I remove it manually (on the usb stick), it works as expected.

Ideally the 2nd occurence would be removed by ocs-live.

I need to run customized isos using ventoy.

Discussion

  • Steven Shiau

    Steven Shiau - 2024-03-02

    Thanks for reporting this. Actually the "ip=" can be removed now.
    Fixed in git repo and it will be used in the next testing release.

    Steven

     

Log in to post a comment.