Mailinglist Archive: yast-commit (288 mails)

< Previous Next >
[yast-commit] r64140 - /trunk/fcoe-client/src/inst_fcoe-client.ycp
Author: gs
Date: Mon May 30 14:13:55 2011
New Revision: 64140

URL: http://svn.opensuse.org/viewcvs/yast?rev=64140&view=rev
Log:
file needed for installation workflow

Added:
trunk/fcoe-client/src/inst_fcoe-client.ycp

Added: trunk/fcoe-client/src/inst_fcoe-client.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/fcoe-client/src/inst_fcoe-client.ycp?rev=64140&view=auto
==============================================================================
--- trunk/fcoe-client/src/inst_fcoe-client.ycp (added)
+++ trunk/fcoe-client/src/inst_fcoe-client.ycp Mon May 30 14:13:55 2011
@@ -0,0 +1,61 @@
+/**
+ * File: clients/inst_fcoe-client.ycp
+ * Package: Configuration of fcoe-client
+ * Summary: Main file
+ * Authors: Gabriele Mohr <gs@xxxxxxx>
+ *
+ *
+ * File called in installation workflow for fcoe-client configuration.
+ */
+
+{
+
+/***
+ * <h3>Configuration of fcoe-client</h3>
+ */
+
+textdomain "fcoe-client";
+
+/* The main () */
+y2milestone ("----------------------------------------");
+y2milestone ("FCoEClient module started");
+
+import "Progress";
+import "Report";
+import "Summary";
+import "ModuleLoading";
+import "Packages";
+import "Installation";
+import "String";
+include "fcoe-client/wizards.ycp";
+
+/* main ui function */
+any ret = nil;
+
+y2milestone("fcoe-client module started during installation");
+
+// TODO: check what is needed here
+// - create directories (included in open-fcoe?)
+// - load any modules ?
+// - start fcoemon (started in FcoeClient::ServiceStatus())
+
+//SCR::Execute(.target.bash, "mkdir -p /etc/iscsi; touch
/etc/iscsi/initiatorname.iscsi; ln -s /etc/iscsi/initiatorname.iscsi
/etc/initiatorname.iscsi");
+// ModuleLoading::Load("iscsi_tcp", "", "", "", false, true);
+// start iscsid daemon
+// IscsiClientLib::startIScsid();
+// IscsiClientLib::autoLogOn();
+
+// run dialog
+ret = MainSequence();
+y2debug("MainSequence ret=%1", ret);
+// add package open-iscsi to installed system
+Packages::addAdditionalPackage("open-fcoe");
+
+/* Finish */
+y2milestone("fcoe-client module finished");
+y2milestone("----------------------------------------");
+
+return ret;
+
+/* EOF */
+}

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages