summaryrefslogblamecommitdiffstats
path: root/builder/modules.d/dnbd3-rootfs/hooks/set-dracut-environment-variables.sh
blob: ad80349b0e8de15eac90cfb9221641567b171792 (plain) (tree)
1
2
3
4
5
6
7
8
9

                       
 

                                                                              
 

                                                                           
        
                                                      
                                 
 



                                                     
#!/usr/bin/env bash
# -*- coding: utf-8 -*-

# Set rootok and root as dracut expects them to be set by the module preparing
# the root filesystem.

# Tell dracut that we parsed the command line and all needed parameters are
# available.
rootok=1
# Tell dracut where the final root fs will be located.
root=block:/dev/devicemapper/root

# region vim modline
# vim: set tabstop=4 shiftwidth=4 expandtab:
# vim: foldmethod=marker foldmarker=region,endregion:
# endregion