Displaying 20 results from an estimated 32 matches for "path_to".
2011 Mar 21
1
Getting user session object in cucumber
...n user login with valid credentials
Then user should be on project list page
Scenario: Create New Project
When user create a project with name "Test"
Then user should see "Test" on project list page"
My Steps are as follows:-
Given /^user on (.+)$/ do |page_name|
visit path_to(page_name)
end
When /^user login with valid credentials$/ do
fill_in(''Email'', :with=>"john_rennie-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org")
fill_in(''Password'', :with=>"neova123")
click_button("Login")
end
Then /^user sh...
2015 Dec 11
2
libvirt domain configuration xml
...you have to edit the domain configuration:
Fo exmple, to disable VNC for a domain 'test1':
vmXml = vm.XMLDesc(0)
root = ET.fromstring(vmXml)
devices = root.find('./devices')
graphics = devices.find('graphics')
devices.remove(graphics)
xml = ET.tostring(root)
with open('path_to/test1.xml', 'w') as f:
f.write(xml)
not the problem is with the test1.xml. Even though the domain configuration
seems to be stored there, the file seems to be regenerated/overwritten so
any changes I make will not take effect.
So the question really is: where is the domain configurati...
2010 Aug 24
4
[LLVMdev] dragonegg plugin invoking issue
...e able publically? Maybe I am missing something obvious. Please find below the different version & configuration and error which I am getting. Please let me know if I need to provide any further information. Thanks.
Regards,
Rehman
GCC configuration & version
---------------------------
$path_to/gcc-4.5.x/bin/gcc -v
Using built-in specs.
COLLECT_GCC=$path_to/gcc-4.5.x/bin/gcc
COLLECT_LTO_WRAPPER=$path_to/gcc-4.5.x/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.5.2/lto-wrapper
Target: x86_64-unknown-linux-gnu
Configured with: ../gcc-4.5.x/configure --prefix=$path_to/gcc-4.5.x --enable-thread...
2005 Dec 15
4
Acts_as_tree and routing
I''ve got an acts_as_tree structure which I want to be able to represent
in the URL, with one field identified as the url component. In other
words, if I''ve got this:
def self.up
create_table :nodes do |t|
t.column :parent_id, :integer
t.column :tag, :string
end
end
and
class Node < ActiveRecord::Base
acts_as_tree
end
and what I want the urls to be is something
2015 Dec 11
0
Re: libvirt domain configuration xml
...gt; Fo exmple, to disable VNC for a domain 'test1':
>
> vmXml = vm.XMLDesc(0)
> root = ET.fromstring(vmXml)
> devices = root.find('./devices')
> graphics = devices.find('graphics')
> devices.remove(graphics)
> xml = ET.tostring(root)
> with open('path_to/test1.xml', 'w') as f:
> f.write(xml)
Writing to path_to/test1.xml is not necessary (it's merely a convenient
way for you to have a point-in-time snapshot of what the domain XML
was); what you are really looking for is to write the XML back to
libvirt, via:
vm.defineXML(xml)
&...
2007 Aug 12
1
booting CentOS in rescrue mode from USB (+over network)
Hello,
is there a way to boot CentOS 4.5 from USB flash key in rescue mode ?
The prefered solution would be to have booting part of CentOS started by
SysLinux and download the content of CD1 from a network server (HTTP),
like Anaconda is able to use command "method".
Best regards,
Martin
2019 Jan 09
3
samba-tool auth in scripts
Hi,
I created a script to add DNS entries with samba-tool (for LetsEncrypt,
as a dehydrated hook.) Works fine, but I have the password for the
dedicated user to do that in the script in the clear. I think I read
somewhere something about doing it with kerberos, but I never used
kerberos and don't know where to start. Is there any good way to be
doing this?
Thanks,
Jakob
2015 Dec 15
1
Re: libvirt domain configuration xml
...ain 'test1':
> >
> > vmXml = vm.XMLDesc(0)
> > root = ET.fromstring(vmXml)
> > devices = root.find('./devices')
> > graphics = devices.find('graphics')
> > devices.remove(graphics)
> > xml = ET.tostring(root)
> > with open('path_to/test1.xml', 'w') as f:
> > f.write(xml)
>
> Writing to path_to/test1.xml is not necessary (it's merely a convenient
> way for you to have a point-in-time snapshot of what the domain XML
> was); what you are really looking for is to write the XML back to
> libvir...
2013 Feb 11
4
[syslinux.exe] Failures to use\install on xp+ntfs
I made several attepmts using the tree of 5.01 2013.
My syslinux.cfg file has
display /path_to/syslinux.cfg
directive.
1. The installation, with a --directory option, was successful.
After boot I got syslinux boot prompt. The syslinux.cfg was not
displayed. I guess that means the MBR was there, but not the
partition boot sector.
Then I noticed the thread at
http://www.syslinux...
2006 Aug 21
4
Making DOS/Win9x HD Image for memdisk
Hi list!
I'm trying to make a hd image with can boot from memdisk over PXE.
So this is what i did:
- Created a new VM [VMware]
-Installed DOS on a 100MB HD from a floppy
-bootet Linux over PXE [DamnSmallLinux]
-in terminal: dd if=/dev/hda of=dos.img
This image [dos.img] isn't working! Memdisk loads the Image and boots the
HD! The error message is something like this:
I/O Device
2014 Jul 12
6
CentOS 7 - Add a menu item.
I am kinda stuck. I want to add a menu item and like all previous versions
of Centos I used Alacarte without issue. In C7, it will not allow you to put
anything but a one name command. IE, firefox. You can not have something
like java -jar /opt/PROG/NAME.jar. It grays out the OK button as soon as you
put a space after java.
Note if you edit a menu item that that has a space, it is also grayed
2007 Sep 19
12
server provisionning
Hello puppet users,
I know this is not really a puppet thing but i wanted to know what
tools do you use for server provisionning ?
I have to build quite a lot of servers for a prject and i need to
instal them. Of course puppet take care of the configuration but i
wondered if some of you use things like FAI . It seems that i could use
puppet to script FAI to install machines. What do you
2007 Sep 22
3
merb_sequel raketasks not working?
I''m trying to run on trunk. When I run "rake -T" I get an error:
undefined local variable or method `full_config'' for Merb::Orms::Sequel:Module
I''m not 100% sure that I haven''t messed something up, so I hesitate to
cry "bug" without checking with everyone. Is anyone else seeing this?
P.S. I''m running merb trunk installed as a gem,
2017 Jun 13
3
Creating home folders on file server automatically
...server.
In the meantime I use "root preexec" in smb.conf and the following
script. It creates the folder and mimics the permissions as created by
the RSAT Tool.
#!/bin/bash
#
# Create Home Folder and mimic ACLs as created by RSAT Tools
#
# use in smb.conf:
#
# [home]
#
# root prexec = path_to/make_home_folder.sh '%D' '%U' '%G' '%H'
#
# ;; %D = Domain or Workgroup of user ($1) --> "SAMDOM"
# ;; %U = Username ($2) --> "kbudwi"
# ;; %G = Groupname ($3) --> "SAMDOM\domain users"
# ;;...
2018 Jul 17
2
"Random" crashes of Samba as AD DC
Hey all,
up until 2 weeks ago my samba DC was running just fine, then it began crashing randomly.
I was using 4.8.0 before, now upgraded to a self-compiled 4.8.3 with default build parameters on an up-to-date centos 7.5 with disabled SELinux and bind9 as DNS backend with samba_dlz.
The log output at log level = 10 is as follows:
Jul 17 14:49:20 hostname samba[4998]: [2018/07/17 14:49:20.587655,
2015 Aug 28
2
Samba Internal DNS vs. BIND_DLZ
On Fri, 28 Aug 2015 08:51:30 +0100
Rowland Penny <rowlandpenny241155 at gmail.com> wrote:
> ... what you seem
> to be missing is that you run bind9 instead of the internal samba4
> DNS server. Whatever DNS server you do use, it needs to only know
> about the samba4 dns domain (which also needs to be the realm name),
> anything else it gets from its forwarder.
I did not miss
2016 Dec 20
0
GPO Security Filtering "Access Denied"
...in into linux, run samba-tools ntacl sysvolreset
4) Goto the sysvol folder and run : getfacl sysvol > /tmp/sysvol.acl
5) copy the "internal.domain.tld" from the pc back to sysvol
6) restore the sysvol.acl over the complete setup, run :
setfacl -R -b --modify-file /tmp/sysvol.acl /Path_to/sysvol
7) run samba-tool ntacl sysvolcheck. You should be error free now.
8) Almost there, goto the windows GPO editor, klik once on every GPO object, used or not. You mights get a message about incorrect rights, just klik ok to fix and its done.
This works every time for me if i get GPO errors....
2013 Jun 18
1
Rails 3 in action book: some files are not generated as written in the book
...generate cucumber:install
has to also generate the definition for the first step of the Scenario
"Given I am on the homepage" in the file
"features/step_definitions/web_steps.rb"
# file: features/step_definitions/web_steps.rb
Given /^(?:|I )am on (.+)$/ do |page_name|
visit path_to(page_name)
end
But it doesn''t. Also it doesn''t generate module NavigationHelpers along
with the "features/support/paths.rb" file.
Why does it happen? Is it just a deprecated behavior and now cucumber
doesn''t generate those files?
--
Posted via http://www.rub...
2007 Feb 05
1
rgl.snapshot "failed"
...rgl
Version: 0.70
Date: 2007-01-06
What I had to do:
Download the rgl package, install libX11, libX11-devel, libXt,
libXt-devel, and then run:
--------------------------
R CMD INSTALL --configure-args='--x-includes=/usr/include/X11
--x-libraries=/usr/lib' path_to_rgl_0.70.tar.gz
--------------------------
The problem is that the ./configure script in the rgl_0.70 package does
not seem to be able to locate the relevant X include and library paths.
These have to be given explicitely, as shown.
Hope this will help some in a similar situation.
Best regards...
2014 Jul 14
3
Changing gdm background
Anyone know how to do $SUBJECT? I've tried running both gnome-control-
center and dconf as the gdm user, but neither one had any effect.
TIA
--
========================================================================
Ian Pilcher arequipeno at gmail.com
-------- "I grew up before Mark Zuckerberg invented friendship" --------