Discussion:
[Oscar-devel] Automatic recognition of the pxeboot completion
Kim, DongInn
2014-06-27 21:10:21 UTC
Permalink
Hi Olivier,

Can you please update the following file in http://svn.oscar.openclustergroup.org/pkgs/downloads/systemimager-4.3.0.tar.bz2 by adding the code of generating the hex decimal?

./initrd_source/skel/etc/init.d/functions

[17:08] thumb: systemimager-4.3.0 $ diff -Naur initrd_source/skel/etc/init.d/functions{,.new}
--- initrd_source/skel/etc/init.d/functions 2013-06-13 04:07:49.000000000 -0400
+++ initrd_source/skel/etc/init.d/functions.new 2014-06-27 17:08:39.454084355 -0400
@@ -1404,6 +1404,16 @@
chroot /a/ /tmp/post-install/$POST_INSTALL_SCRIPT || shellout
fi
done
+ hex=fconfig eth0 | grep "inet addr" | awk '{print $2}' | awk -F":" '{print $2}' | awk '{ n=split($1,d,"."); for(i=1;i<=n;i++) printf "%02X", d[i]}'
+ echo "DISPLAY message.txt" > $hex
+ echo "PROMPT 1" >> $hex
+ echo "DEFAULT lhd" >> $hex
+ echo "TIMEOUT 50" >> $hex
+ echo "" >> $hex
+ echo "LABEL lhd" >> $hex
+ echo "LOCALBOOT 0" >> $hex
+
+ tftp $IMAGESERVER -c put $hex /tftpboot/pxelinux.cfg/$hexi
else
logmsg "No post-install scripts found."
fi



Regards,

--
- DongInn
Olivier LAHAYE
2014-07-02 13:01:40 UTC
Permalink
After reading the doc, this behavior should be achieved with netbootmgr.
http://svn.oscar.openclustergroup.org/trac/oscar/wiki/InstallGuideClusterInstall
(§5.14)

Did you had time to port it to Qt4 (I really have no skills for that
unfortunately)
Post by Kim, DongInn
Hi Olivier,
Can you please update the following file in
http://svn.oscar.openclustergroup.org/pkgs/downloads/systemimager-4.3.0.tar
.bz2 by adding the code of generating the hex decimal?
./initrd_source/skel/etc/init.d/functions
[17:08] thumb: systemimager-4.3.0 $ diff -Naur
initrd_source/skel/etc/init.d/functions{,.new} ---
initrd_source/skel/etc/init.d/functions 2013-06-13 04:07:49.000000000
-0400 +++ initrd_source/skel/etc/init.d/functions.new 2014-06-27
chroot /a/ /tmp/post-install/$POST_INSTALL_SCRIPT ||
shellout fi
done
+ hex=fconfig eth0 | grep "inet addr" | awk '{print $2}' | awk
-F":" '{print $2}' | awk '{ n=split($1,d,"."); for(i=1;i<=n;i++) printf
"%02X", d[i]}' + echo "DISPLAY message.txt" > $hex
+ echo "PROMPT 1" >> $hex
+ echo "DEFAULT lhd" >> $hex
+ echo "TIMEOUT 50" >> $hex
+ echo "" >> $hex
+ echo "LABEL lhd" >> $hex
+ echo "LOCALBOOT 0" >> $hex
+
+ tftp $IMAGESERVER -c put $hex /tftpboot/pxelinux.cfg/$hexi
else
logmsg "No post-install scripts found."
fi
Regards,
--
- DongInn
----------------------------------------------------------------------------
-- Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows Winner
of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Oscar-devel mailing list
https://lists.sourceforge.net/lists/listinfo/oscar-devel
Cordialement,

Olivier.
--
Olivier Lahaye
DRT/LIST/DIR
Kim, DongInn
2014-07-02 13:50:56 UTC
Permalink
Hi Olivier,

Yes, I have been working on it. I found that there is a problem with making the perl module “netBootMgr.pm” which is generated while netbootmgr-***.rpm is built.
Unfortunately I could not make netBootMgr.pm because of the missing “puic” in our perl-Qt.

Can you help me to make puic available in our perl-Qt?

Regards,

--
- DongInn
Post by Olivier LAHAYE
After reading the doc, this behavior should be achieved with netbootmgr.
http://svn.oscar.openclustergroup.org/trac/oscar/wiki/InstallGuideClusterInstall
(§5.14)
Did you had time to port it to Qt4 (I really have no skills for that
unfortunately)
Post by Kim, DongInn
Hi Olivier,
Can you please update the following file in
http://svn.oscar.openclustergroup.org/pkgs/downloads/systemimager-4.3.0.tar
.bz2 by adding the code of generating the hex decimal?
./initrd_source/skel/etc/init.d/functions
[17:08] thumb: systemimager-4.3.0 $ diff -Naur
initrd_source/skel/etc/init.d/functions{,.new} ---
initrd_source/skel/etc/init.d/functions 2013-06-13 04:07:49.000000000
-0400 +++ initrd_source/skel/etc/init.d/functions.new 2014-06-27
chroot /a/ /tmp/post-install/$POST_INSTALL_SCRIPT ||
shellout fi
done
+ hex=fconfig eth0 | grep "inet addr" | awk '{print $2}' | awk
-F":" '{print $2}' | awk '{ n=split($1,d,"."); for(i=1;i<=n;i++) printf
"%02X", d[i]}' + echo "DISPLAY message.txt" > $hex
+ echo "PROMPT 1" >> $hex
+ echo "DEFAULT lhd" >> $hex
+ echo "TIMEOUT 50" >> $hex
+ echo "" >> $hex
+ echo "LABEL lhd" >> $hex
+ echo "LOCALBOOT 0" >> $hex
+
+ tftp $IMAGESERVER -c put $hex /tftpboot/pxelinux.cfg/$hexi
else
logmsg "No post-install scripts found."
fi
Regards,
--
- DongInn
----------------------------------------------------------------------------
-- Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows Winner
of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Oscar-devel mailing list
https://lists.sourceforge.net/lists/listinfo/oscar-devel
Cordialement,
Olivier.
--
Olivier Lahaye
DRT/LIST/DIR
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Oscar-devel mailing list
https://lists.sourceforge.net/lists/listinfo/oscar-devel
o***@free.fr
2014-07-02 19:42:23 UTC
Permalink
I'll try to find if puic is still available.

AFAIK, now perl-Qt is part of kdebindings package.
https://projects.kde.org/projects/kde/kdebindings/perl/perlqt/repository
This is still v0.96 AKA 4.10.5 (kde version it is shipped in)

Looking at rhel7, now, perl5 is shipped. I hope that perl-Qt4 works in this configuration. It works on fc-20, so I suppose that this is the case, but I must check.
IMHO, we need to clarify the stability of the perl-Qt API. is this api maintained or subject to disapear?
We have two OSCAR components that depends on perl-Qt: oscar-configurator-x11 and netbootmgr.
Sooner or later we'll have an issue there... :-(

Olivier.

----- Mail original -----
Envoyé: Mercredi 2 Juillet 2014 15:50:56
Objet: Re: [Oscar-devel] Automatic recognition of the pxeboot completion
Hi Olivier,
Yes, I have been working on it. I found that there is a problem with
making the perl module “netBootMgr.pm” which is generated while
netbootmgr-***.rpm is built.
Unfortunately I could not make netBootMgr.pm because of the missing
“puic” in our perl-Qt.
Can you help me to make puic available in our perl-Qt?
Regards,
--
- DongInn
Post by Olivier LAHAYE
After reading the doc, this behavior should be achieved with
netbootmgr.
http://svn.oscar.openclustergroup.org/trac/oscar/wiki/InstallGuideClusterInstall
(§5.14)
Did you had time to port it to Qt4 (I really have no skills for
that
unfortunately)
Post by Kim, DongInn
Hi Olivier,
Can you please update the following file in
http://svn.oscar.openclustergroup.org/pkgs/downloads/systemimager-4.3.0.tar
.bz2 by adding the code of generating the hex decimal?
./initrd_source/skel/etc/init.d/functions
[17:08] thumb: systemimager-4.3.0 $ diff -Naur
initrd_source/skel/etc/init.d/functions{,.new} ---
initrd_source/skel/etc/init.d/functions 2013-06-13
04:07:49.000000000
-0400 +++ initrd_source/skel/etc/init.d/functions.new 2014-06-27
chroot /a/
/tmp/post-install/$POST_INSTALL_SCRIPT ||
shellout fi
done
+ hex=fconfig eth0 | grep "inet addr" | awk '{print
$2}' | awk
-F":" '{print $2}' | awk '{ n=split($1,d,"."); for(i=1;i<=n;i++)
printf
"%02X", d[i]}' + echo "DISPLAY message.txt" > $hex
+ echo "PROMPT 1" >> $hex
+ echo "DEFAULT lhd" >> $hex
+ echo "TIMEOUT 50" >> $hex
+ echo "" >> $hex
+ echo "LABEL lhd" >> $hex
+ echo "LOCALBOOT 0" >> $hex
+
+ tftp $IMAGESERVER -c put $hex
/tftpboot/pxelinux.cfg/$hexi
else
logmsg "No post-install scripts found."
fi
Regards,
--
- DongInn
----------------------------------------------------------------------------
-- Open source business process management suite built on Java and
Eclipse
Turn processes into business applications with Bonita BPM
Community Edition
Quickly connect people, data, and systems into organized workflows
Winner
of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Oscar-devel mailing list
https://lists.sourceforge.net/lists/listinfo/oscar-devel
Cordialement,
Olivier.
--
Olivier Lahaye
DRT/LIST/DIR
------------------------------------------------------------------------------
Open source business process management suite built on Java and
Eclipse
Turn processes into business applications with Bonita BPM Community
Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Oscar-devel mailing list
https://lists.sourceforge.net/lists/listinfo/oscar-devel
------------------------------------------------------------------------------
Open source business process management suite built on Java and
Eclipse
Turn processes into business applications with Bonita BPM Community
Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Oscar-devel mailing list
https://lists.sourceforge.net/lists/listinfo/oscar-devel
o***@free.fr
2014-07-03 10:56:57 UTC
Permalink
DongInn, after looking closely to our perl-Qt package, it tourns out that we do have puic. It is called /usr/bin/puic4

Could you give a try with /usr/bin/puic4?

Cheers,

Olivier.

----- Mail original -----
Envoyé: Mercredi 2 Juillet 2014 15:50:56
Objet: Re: [Oscar-devel] Automatic recognition of the pxeboot completion
Hi Olivier,
Yes, I have been working on it. I found that there is a problem with
making the perl module “netBootMgr.pm” which is generated while
netbootmgr-***.rpm is built.
Unfortunately I could not make netBootMgr.pm because of the missing
“puic” in our perl-Qt.
Can you help me to make puic available in our perl-Qt?
Regards,
--
- DongInn
Post by Olivier LAHAYE
After reading the doc, this behavior should be achieved with
netbootmgr.
http://svn.oscar.openclustergroup.org/trac/oscar/wiki/InstallGuideClusterInstall
(§5.14)
Did you had time to port it to Qt4 (I really have no skills for
that
unfortunately)
Post by Kim, DongInn
Hi Olivier,
Can you please update the following file in
http://svn.oscar.openclustergroup.org/pkgs/downloads/systemimager-4.3.0.tar
.bz2 by adding the code of generating the hex decimal?
./initrd_source/skel/etc/init.d/functions
[17:08] thumb: systemimager-4.3.0 $ diff -Naur
initrd_source/skel/etc/init.d/functions{,.new} ---
initrd_source/skel/etc/init.d/functions 2013-06-13
04:07:49.000000000
-0400 +++ initrd_source/skel/etc/init.d/functions.new 2014-06-27
chroot /a/
/tmp/post-install/$POST_INSTALL_SCRIPT ||
shellout fi
done
+ hex=fconfig eth0 | grep "inet addr" | awk '{print
$2}' | awk
-F":" '{print $2}' | awk '{ n=split($1,d,"."); for(i=1;i<=n;i++)
printf
"%02X", d[i]}' + echo "DISPLAY message.txt" > $hex
+ echo "PROMPT 1" >> $hex
+ echo "DEFAULT lhd" >> $hex
+ echo "TIMEOUT 50" >> $hex
+ echo "" >> $hex
+ echo "LABEL lhd" >> $hex
+ echo "LOCALBOOT 0" >> $hex
+
+ tftp $IMAGESERVER -c put $hex
/tftpboot/pxelinux.cfg/$hexi
else
logmsg "No post-install scripts found."
fi
Regards,
--
- DongInn
----------------------------------------------------------------------------
-- Open source business process management suite built on Java and
Eclipse
Turn processes into business applications with Bonita BPM
Community Edition
Quickly connect people, data, and systems into organized workflows
Winner
of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Oscar-devel mailing list
https://lists.sourceforge.net/lists/listinfo/oscar-devel
Cordialement,
Olivier.
--
Olivier Lahaye
DRT/LIST/DIR
------------------------------------------------------------------------------
Open source business process management suite built on Java and
Eclipse
Turn processes into business applications with Bonita BPM Community
Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Oscar-devel mailing list
https://lists.sourceforge.net/lists/listinfo/oscar-devel
------------------------------------------------------------------------------
Open source business process management suite built on Java and
Eclipse
Turn processes into business applications with Bonita BPM Community
Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Oscar-devel mailing list
https://lists.sourceforge.net/lists/listinfo/oscar-devel
o***@free.fr
2014-07-03 11:21:22 UTC
Permalink
Sorry, I forgot to tell that you need to install perl-Qt-devel package to have puic4

Cheers,

Olivier.

----- Mail original -----
Envoyé: Jeudi 3 Juillet 2014 12:56:57
Objet: Re: [Oscar-devel] Automatic recognition of the pxeboot completion
DongInn, after looking closely to our perl-Qt package, it tourns out
that we do have puic. It is called /usr/bin/puic4
Could you give a try with /usr/bin/puic4?
Cheers,
Olivier.
----- Mail original -----
Envoyé: Mercredi 2 Juillet 2014 15:50:56
Objet: Re: [Oscar-devel] Automatic recognition of the pxeboot
completion
Hi Olivier,
Yes, I have been working on it. I found that there is a problem
with
making the perl module “netBootMgr.pm” which is generated while
netbootmgr-***.rpm is built.
Unfortunately I could not make netBootMgr.pm because of the missing
“puic” in our perl-Qt.
Can you help me to make puic available in our perl-Qt?
Regards,
--
- DongInn
Post by Olivier LAHAYE
After reading the doc, this behavior should be achieved with
netbootmgr.
http://svn.oscar.openclustergroup.org/trac/oscar/wiki/InstallGuideClusterInstall
(§5.14)
Did you had time to port it to Qt4 (I really have no skills for
that
unfortunately)
Post by Kim, DongInn
Hi Olivier,
Can you please update the following file in
http://svn.oscar.openclustergroup.org/pkgs/downloads/systemimager-4.3.0.tar
.bz2 by adding the code of generating the hex decimal?
./initrd_source/skel/etc/init.d/functions
[17:08] thumb: systemimager-4.3.0 $ diff -Naur
initrd_source/skel/etc/init.d/functions{,.new} ---
initrd_source/skel/etc/init.d/functions 2013-06-13
04:07:49.000000000
-0400 +++ initrd_source/skel/etc/init.d/functions.new 2014-06-27
chroot /a/
/tmp/post-install/$POST_INSTALL_SCRIPT ||
shellout fi
done
+ hex=fconfig eth0 | grep "inet addr" | awk '{print
$2}' | awk
-F":" '{print $2}' | awk '{ n=split($1,d,"."); for(i=1;i<=n;i++)
printf
"%02X", d[i]}' + echo "DISPLAY message.txt" > $hex
+ echo "PROMPT 1" >> $hex
+ echo "DEFAULT lhd" >> $hex
+ echo "TIMEOUT 50" >> $hex
+ echo "" >> $hex
+ echo "LABEL lhd" >> $hex
+ echo "LOCALBOOT 0" >> $hex
+
+ tftp $IMAGESERVER -c put $hex
/tftpboot/pxelinux.cfg/$hexi
else
logmsg "No post-install scripts found."
fi
Regards,
--
- DongInn
----------------------------------------------------------------------------
-- Open source business process management suite built on Java
and
Eclipse
Turn processes into business applications with Bonita BPM
Community Edition
Quickly connect people, data, and systems into organized
workflows
Winner
of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Oscar-devel mailing list
https://lists.sourceforge.net/lists/listinfo/oscar-devel
Cordialement,
Olivier.
--
Olivier Lahaye
DRT/LIST/DIR
------------------------------------------------------------------------------
Open source business process management suite built on Java and
Eclipse
Turn processes into business applications with Bonita BPM
Community
Edition
Quickly connect people, data, and systems into organized
workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Oscar-devel mailing list
https://lists.sourceforge.net/lists/listinfo/oscar-devel
------------------------------------------------------------------------------
Open source business process management suite built on Java and
Eclipse
Turn processes into business applications with Bonita BPM Community
Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Oscar-devel mailing list
https://lists.sourceforge.net/lists/listinfo/oscar-devel
------------------------------------------------------------------------------
Open source business process management suite built on Java and
Eclipse
Turn processes into business applications with Bonita BPM Community
Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Oscar-devel mailing list
https://lists.sourceforge.net/lists/listinfo/oscar-devel
Loading...